Baguera 0 Posted April 4 Share Posted April 4 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
LucasST 13 Posted April 4 Share Posted April 4 function BreakCam() local camera = {getCameraMatrix()} setCameraMatrix(unpack(camera)) end Para voltar a camera ao normal utilize o setCameraTarget Link to post
Baguera 0 Posted April 4 Author Share Posted April 4 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
Other Languages Moderators Lord Henry 1,378 Posted April 5 Other Languages Moderators Share Posted April 5 Faça o script client-side. 1 Link to post
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now