Squirrel/Server/Functions/SpawnClass/GetWeapon

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This function returns the spawn weapon ID in the given slot for a ''SpawnClass''. == Syntax == <code>int SpawnClass.GetWeapon( int iSlot )</code> == Arguments == * '''iSlot'''...)

Revision as of 03:56, 14 December 2009

This function returns the spawn weapon ID in the given slot for a SpawnClass.

Syntax

  1. int SpawnClass.GetWeapon( int iSlot )

Arguments

  • iSlot - The slot you want to retrieve the weapon info for. There are three slots available: 1, 2 and 3

Example

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

-- Example notes/used functions here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox