Squirrel/Client/Events/Player/onClientWeaponChange

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

Latest revision as of 11:47, 29 July 2011

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

This event is called when the local player changes weapon

[edit] Syntax

  1. function onClientWeaponChange( oldwep, newwep)

[edit] Arguments

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

[edit] Returns

This event does not handle return values.

[edit] 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.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox