OnPlayerDamage: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerDamage}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}"
 
No edit summary
Line 3: Line 3:
{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|__EDIT_ME__}}


{{FuncSyntax|OnPlayerDamage}}
{{FuncSyntax|OnPlayerDamage(player, damagetype, amount)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|The player who is being damaged.}}
{{FuncParam|damagetype|[[DamageType|Type]] of damage applied.}}
{{FuncParam|amount|Amount of damage applied.}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__

Revision as of 22:25, 22 March 2019