Markn1 Posted September 9, 2017 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
DNL291 Posted September 9, 2017 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 Please do not PM me with scripting related question nor support, use the forums instead.
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