Jump to content

Creating a New Gameplay (:


capitanazop

Recommended Posts

hi well im creating a new Gameplay Like vc:mp when you shot a player with a Shotgun his droped to the floor (fall) and you can jump like vc:mp to left and right but y need help with the fall system, i need to finish the animation but dont exist a stopanimation function :( why can i do?

this is the code.

function playerDamage ( thePlayer, attacker, weapon, bodypart, loss ) 
    if ( weapon == 25 ) then 
        setPedAnimation( thePlayer, "SUNBATHE", "Lay_Bac_out", -1, false, true, false ) 
    end 
end 
addEventHandler ( "onPlayerDamage", getRootElement (), playerDamage ) 

and how you think i can make the jump system? with what function?

bye and sorry for my english im lerning :o

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