Squirrel/Client/Events/Player/onClientDeath

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|onClientDeath}} This event is called when the local player dies == Syntax == <code>function onClientDeath( killer, weapon, bodypart)</code> === Arguments === …')

Revision as of 20:30, 28 July 2011

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when the local player dies

Syntax

  1. function onClientDeath( killer, weapon, bodypart)

Arguments

  • killer - The pointer to the player who killed the local player
  • weapon - The weapon used
  • bodypart - The bodypart hit

Returns

This event does not handle return values.

Example

Some explanation here

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox