Jump to content

why my ped don't make the animation


golanu21

Recommended Posts

Posted
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) 

XajVsWV.png

168_zps269f1907.gif[Dev]BloWnRPG - We BloW the World [1%]168_zps269f1907.gif

  • Moderators
Posted

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 

  Tutorials  4x 

 

  • Moderators
Posted (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 by Guest

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...