golanu21 Posted August 21, 2013 Posted August 21, 2013 (edited) FIXED Edited August 21, 2013 by Guest [Dev]BloWnRPG - We BloW the World [1%]
Moderators IIYAMA Posted August 21, 2013 Moderators Posted August 21, 2013 timer? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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) [Dev]BloWnRPG - We BloW the World [1%]
Moderators IIYAMA Posted August 21, 2013 Moderators Posted August 21, 2013 yes do what? another animation? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
golanu21 Posted August 21, 2013 Author Posted August 21, 2013 FIXED [Dev]BloWnRPG - We BloW the World [1%]
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) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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