AMARANT Posted May 8, 2011 Share Posted May 8, 2011 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 Link to comment
AMARANT Posted May 9, 2011 Author Share Posted May 9, 2011 if ( not getPedAnimation( thePlayer ) == "CARRY", "crry_prtial" ) then outputChatBox( "Drop" ) end Link to comment
Moderators Citizen Posted May 12, 2011 Moderators Share Posted May 12, 2011 local block, anim = getPedAnimation( thePlayer ) if ( not( block == "CARRY" and anim == "crry_prtial" ) ) then outputChatBox( "Drop" ) end Link to comment
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