onClientWeaponChange

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when the local player changes weapon

Syntax

  1. function onClientWeaponChange( oldwep, newwep)

Arguments

  • oldwep - The weapon the player changed from
  • newwep - The weapon the player has changed to

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