golanu21 Posted August 21, 2013 Posted August 21, 2013 (edited) FIXED Edited August 21, 2013 by Guest
golanu21 Posted August 21, 2013 Author Posted August 21, 2013 YES I MAKE WITH TIMER, BUT WHEN TIMER IS FINISHED THEN TO DO SOMETHING ( AFTER THE ANIMATION STOP)
Moderators IIYAMA Posted August 21, 2013 Moderators Posted August 21, 2013 yes do what? another animation?
Moderators IIYAMA Posted August 21, 2013 Moderators Posted August 21, 2013 local animationStop = function (player) if isElement(player) then setPedAnimation(player,false) outputChatBox("animation stopped",player) end end addCommandHandler("anim", function (player) setPedAnimation ( player, "ped", "WOMAN_walknorm", 1000, true, true, false,true ) setTimer(animationStop,1000,1,player) end)
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