Player/SetAmmo

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(I think this is the most logical way to document arguments that can be of more than one type)
m ("of of")
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetAmmo
+
|Description=Sets the amount of the specified ammo for the player.
|Parent=Player
+
|Description=Sets the amount of of the specified ammo for the player.
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 19:03, 4 October 2017

 Player:SetAmmo( )

Description

Sets the amount of the specified ammo for the player.

Arguments

number ammoCount

The amount of ammunition to set.

Arguments

any ammoType

The ammunition type. Can be either number ammo ID or string ammo name.
Personal tools
Navigation