OnPlayerDamage

From Multi Theft Auto: Wiki
Revision as of 22:22, 17 November 2006 by Talidan (talk | contribs)
Jump to navigation Jump to search


This event is blahblah and is used for blahblah. It should be noted that this function is not called when attacked by a team member if friendly fire is enabled.

Syntax

void onPlayerDamage ( player attacker, int attackerweapon, int bodypart, float loss )        

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo