Squirrel/Server/Functions/SpawnClass/GetWeapon
From Liberty Unleashed Wiki
(Difference between revisions)
(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
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
-- todo
Notes
-- Example notes/used functions here