Jump to content

I Need Help


Hypnos

Recommended Posts

Hi,

you can use this fonction and setElementHealth when this function is triggered you can also define wich type of damage the ped can be invinsible.

This function is in server side , if you want with client side use onClientPlayerDamage.

https://wiki.multitheftauto.com/wiki/OnPlayerDamage

There is no need for setElementData , and he asked how to create a importall ped,not a player!

Use

Event; onClientPedDamage 
cancelEvent 

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