OnPlayerDamage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 3: Line 3:
__NOTOC__  
__NOTOC__  
This event is blahblah and is used for blahblah.
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==  
==Syntax==  

Revision as of 22:22, 17 November 2006


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