Markn1 Posted September 9, 2017 Share Posted September 9, 2017 addEventHandler( "onPlayerChat", getRootElement(), function () setPedAnimation( source, "ped", "IDLE_chat", 1, false, true ) -- stop anim = 2 sec setTimer( function() setPedAnimation(source, false) end, 2000, 1) end ) plssss fix :c Link to comment
DNL291 Posted September 9, 2017 Share Posted September 9, 2017 (edited) O que não está funcionando? A linha 2 parece correta, na função setTimer source retornará nil. Faça isto na função setTimer: setTimer( function(player) setPedAnimation(player, nil) end, 2000, 1, source) Edited September 9, 2017 by DNL291 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