MRXBBC Posted January 25, 2021 Share Posted January 25, 2021 alguém sabe me dizer se tem alguma função que faça o player n correr, e sim ficar só no trote normal Link to comment
Other Languages Moderators androksi Posted January 25, 2021 Other Languages Moderators Share Posted January 25, 2021 toggleControl - junto com a propriedade sprint. Link to comment
MRXBBC Posted January 25, 2021 Author Share Posted January 25, 2021 49 minutes ago, andreisrw said: toggleControl - junto com a propriedade sprint. eu já fiz só que ele para e não anda Link to comment
Other Languages Moderators androksi Posted January 26, 2021 Other Languages Moderators Share Posted January 26, 2021 Estranho. Acabei de testar e está funcionando normal. Código que eu usei: local status = false addCommandHandler("sprint", function(p) status = not status toggleControl(p, "sprint", status) outputChatBox("Sprint is now " .. (status and "enabled" or "disabled") .. ".", p, 0, 255, 0) end) Demonstração: https://streamable.com/4gjijx 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