Jump to content

Function "getPedAnimation"


Recommended Posts

Posted

How to use this function? Every time I try to check animation of ped with this function it says: "attempt to call global 'getPedAnimation' (a nil value)". Help, please :?

  • Moderators
Posted
local block, anim = getPedAnimation( thePlayer ) 
if ( not( block == "CARRY" and  anim == "crry_prtial" ) ) then 
    outputChatBox( "Drop" ) 
end 

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...