Bullyn Posted April 4, 2021 Share Posted April 4, 2021 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 comment
LucasST Posted April 4, 2021 Share Posted April 4, 2021 function BreakCam() local camera = {getCameraMatrix()} setCameraMatrix(unpack(camera)) end Para voltar a camera ao normal utilize o setCameraTarget Link to comment
Bullyn Posted April 4, 2021 Author Share Posted April 4, 2021 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 comment
Other Languages Moderators Lord Henry Posted April 5, 2021 Other Languages Moderators Share Posted April 5, 2021 Faça o script client-side. 1 Link to comment
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