Squirrel/Server/Functions/SpawnClass/GetWeaponAmmo

From Liberty Unleashed Wiki
Revision as of 03:56, 14 December 2009 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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