Module hooks.onHit

Executed script on every hit

Functions

onHit (id, source, weapon, hpdmg) onHit add the domage made by a player


Functions

Methods
onHit (id, source, weapon, hpdmg)
onHit add the domage made by a player

Parameters:

  • id id of the player hitted
  • source id of the player who makes domages
  • weapon name of the weapon
  • hpdmg nomber of hp lost
generated by LDoc 1.4.3 Last updated 2015-11-11 13:48:25