Scripting/Squirrel/Functions/ResetWeaponDataValue
From Vice City Multiplayer [MIRROR]
This function will reset the data value of a weapon. (range, damage, etc)
Contents
Syntax
ResetWeaponDataValue( weaponID, fieldID )
Arguments
- integer weaponID - model ID of weapon
- integer fieldID - field ID of data you want to reset ( WeaponDataValue )
Example
The following example will return the original firing range of Stubby Shotgun. <source lang=squirrel> ResetWeaponDataValue( 21, 2 ) </source>