MRXBBC 12 Posted January 25 Share Posted January 25 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 post
andr0xy 204 Posted January 25 Share Posted January 25 toggleControl - junto com a propriedade sprint. Link to post
MRXBBC 12 Posted January 25 Author Share Posted January 25 49 minutes ago, andreisrw said: toggleControl - junto com a propriedade sprint. eu já fiz só que ele para e não anda Link to post
andr0xy 204 Posted January 26 Share Posted January 26 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 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