golanu21 Posted July 20, 2013 Posted July 20, 2013 i10 = createPed (186, -1345.02405, 492.73904, 11.20269, 90, 0, 0) setElementData(i10,"message","V.I.P") setPedAnimation(i10, "ped", "CAR_sit") setElementFrozen(i10, true) [Dev]BloWnRPG - We BloW the World [1%]
Moderators IIYAMA Posted July 20, 2013 Moderators Posted July 20, 2013 Cause you frozen him. setElementFrozen(i10, true) 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 July 20, 2013 Author Posted July 20, 2013 i delete the setElementFrozen,... and nothing [Dev]BloWnRPG - We BloW the World [1%]
Moderators IIYAMA Posted July 20, 2013 Moderators Posted July 20, 2013 (edited) i delete the setElementFrozen,... and nothing It is working for me. Even with frozen it is working, first freeze the ped then set the animation. i10 = createPed (186, -1345.02405, 492.73904, 11.20269, 90, 0, 0) setElementFrozen(i10, true) -- moved setElementData(i10,"message","V.I.P") setPedAnimation(i10, "ped", "CAR_sit") -- moved Edited July 20, 2013 by Guest 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
dugasz1 Posted July 20, 2013 Posted July 20, 2013 setPedAnimation(i10, "ped", "CAR_sit", 1000, true, true) Try like this. Maybe Sorry for lot of questions and thanks for the answers!
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