OnPlayerGiveDamage
#3

Your doing it all wrong.

damageid is the ID of the player shot/that took the damage. While, amount is the amount of health they loose.

According to SA-MP Wiki,
playerid The ID of the player that gave damage.
damagedid The ID of the player that received damage.
amount The amount of health/armour damagedid has lost (combined).
weaponid The reason that caused the damage.
bodypart The body part that was hit. (NOTE: This parameter was added in 0.3z. Leave it out if using an older version!)

wiki.sa-mp.com/wiki/OnPlayerGiveDamage
Reply


Messages In This Thread
OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 11:38
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 12:35
Re: OnPlayerGiveDamage - by Abagail - 17.05.2014, 12:47
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 12:58
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 15:39

Forum Jump:


Users browsing this thread: 2 Guest(s)