Jump to content

Preciso de ajuda


Recommended Posts

Eu tenho um script aqui, de fazer o player ficar caido quando a vida chega em 30%, eu queria saber, se tem alguma função que proiba ele de mexer a camera, quando estiver caido.

Alguém me ajudaaaa 😁

 

Link to post
function BreakCam()
    local camera = {getCameraMatrix()}
    setCameraMatrix(unpack(camera))
end

Para voltar a camera ao normal utilize o setCameraTarget

Link to post
4 minutes ago, LucasST said:

function BreakCam()
    local camera = {getCameraMatrix()}
    setCameraMatrix(unpack(camera))
end

Para voltar a camera ao normal utilize o setCameraTarget

O argumento 1 está boolean, pode me ajudar ??

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...