Difference between revisions of "GetPlayerCurrentAmmoRounds"
Jump to navigation
Jump to search
imported>WarMachineDD7 |
imported>WarMachineDD7 |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = NVSE | |origin = NVSE | ||
|summary = Returns the current number of rounds in the clip of the player. | |summary = Returns the current number of rounds in the clip of the player's weapon. | ||
|name = GetPlayerCurrentAmmoRounds | |name = GetPlayerCurrentAmmoRounds | ||
|returnType = int | |returnType = int |
Latest revision as of 17:28, 10 February 2013
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the current number of rounds in the clip of the player's weapon.
Syntax
(int) ref.GetPlayerCurrentAmmoRounds
Example
int currentAmmo set currentAmmo to GetPlayerCurrentAmmoRounds