Squirrel/Server/Functions/SpawnClass/GetWeaponAmmo

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(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

  1. 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
  1.  
  2. -- todo
  3.  

Notes

-- Example notes/used functions here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox