OnPlayerKillEx

From Soldat Community Wiki
Revision as of 11:23, 13 March 2013 by Tehbugerz0r (talk | contribs) (Created page with "===From the Scripting Manual=== ''procedure OnPlayerKillEx(Killer, Victim: byte; Weapon: byte);'' '''Parameter Info:''' Killer (Byte): Player ID of the player who ki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

 procedure OnPlayerKillEx(Killer, Victim: byte; Weapon: byte);
 
 Parameter Info:
  Killer (Byte): Player ID of the player who killed the Victim
  Victim (Byte): Player ID of the Victim.
  Weapon (Byte): Number of the weapon used to kill the Victim.
 
 Description:
  This procedure will be called every time a player dies.
  Difference from OnPlayerKill is the Weapon variable(string>byte).

See also

OnPlayerKillEx