Jump to content

[Help] Animation


iPanda

Recommended Posts

Hello everyone! I have a question: how to make an animation that will be done only once. So, I clicked on the H key, my player play the animation only once, and I can continue playing. I have a similar script, but there is no main function, which gives the animation only once. Please help.

function maskAnimation ( thePed ) 
  setPedAnimation ( thePed, "goggles", "goggles_put_on", 1000, false, false, false ) 
end 

Link to comment

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