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 | |summary = Returns the current number of rounds in the clip of the player. | ||
|name = GetPlayerCurrentAmmoRounds | |name = GetPlayerCurrentAmmoRounds | ||
|returnType = int | |returnType = int | ||
|referenceType = ref | |referenceType = ref | ||
|arguments = | |arguments = | ||
|example = int currentAmmo | |||
set currentAmmo to GetPlayerCurrentAmmoRounds | |||
}} | }} | ||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] |
Revision as of 04:45, 1 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.
Syntax
(int) ref.GetPlayerCurrentAmmoRounds
Example
int currentAmmo set currentAmmo to GetPlayerCurrentAmmoRounds