CTakeDamageInfo/SetAmmoType

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added)
 
(Added a description)
Line 1: Line 1:
 
{{Func
 
{{Func
|Description=
+
|Description=Changes the ammo type used by the weapon that inflicted the damage.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
Line 7: Line 7:
 
|type=number
 
|type=number
 
|name=ammoType
 
|name=ammoType
|desc=
+
|desc=Ammo type ID
 
}}
 
}}

Revision as of 02:45, 13 March 2016

 CTakeDamageInfo:SetAmmoType( )

Description

Changes the ammo type used by the weapon that inflicted the damage.

Arguments

number ammoType

Ammo type ID
Personal tools
Navigation