onClientFall

From Liberty Unleashed Wiki
Revision as of 14:07, 31 July 2011 by Stormeus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when the local player falls over

Syntax

  1. function onClientFall()

Arguments

  • none

Returns

This event does not handle return values.

Example

This code prints "Ouch!" in chat when the player falls.

  1.  
  2. function onClientFall()
  3. {
  4. Message("Ouch!");
  5. }
  6.  

Notes

The function Message was used in this example. More info on the corresponding page.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox