17.05.2014, 12:47
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
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