Difference between revisions of "GetPlayerCurrentAmmoRounds"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>WarMachineDD7
(Created page with "{{Function |origin = FOSE1 |summary = Returns the ammo of a weapon |name = GetPlayerCurrentAmmoRounds |returnType = int |referenceType = ref |arguments = }} [[Category:...")
 
imported>WarMachineDD7
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = NVSE
  |summary = Returns the ammo of a weapon
  |summary = Returns the current number of rounds in the clip of the player's weapon.
  |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)]]

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

[help]
(int) ref.GetPlayerCurrentAmmoRounds

Example

int currentAmmo
set currentAmmo to GetPlayerCurrentAmmoRounds