Squirrel/Server/Functions/SpawnClass/GetWeaponAmmo
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ This function returns the spawn weapon ammo in the given slot for a ''SpawnClass''. == Syntax == <code>int SpawnClass.GetWeaponAmmo( int iSlot )</code> == Arguments == * '''iS...) |
Revision as of 03:56, 14 December 2009
This function returns the spawn weapon ammo in the given slot for a SpawnClass.
Syntax
int SpawnClass.GetWeaponAmmo( int iSlot )
Arguments
- iSlot - The slot you want to retrieve the weapon ammo 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