Jump to content

How to do this with peds?


GamerDeMTA

Recommended Posts

Posted

I wanna give to a ped an anim and I know how to but I wanna do that when someone shots or punchs him, he keeps the anim (mcould I use a setTimer here? to set him the anim each 5 secs for example?) and make it invulnm (he can't die!)

Posted

setPedAnimation has an argument so it can't be interrupted, check the wiki.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

And how do I do that the ped don't die? but, if i create createPed client side (because my script is client side) wis there any trouble? should I make it in a server side part?

Posted

Yes, everyone will see it, since it'll be created on every client.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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