Scripting/Squirrel/Functions/Game/SetAmmuWeapon
From VC-MP Wiki
Contents |
Syntax
SetAmmuWeapon( weaponslot, weaponID, cost )
Parameters
- weaponslot - Give the weapon a slot
- weaponID - This is the ID of the weapon
- cost - The amount of money
Example
This command sets the weapon slot, weapon ID and weapon cost when the server loads the script.
function onScriptLoad() { SetAmmuWeapon( 0, 20, 1200 ) }
Notes
The functions onScriptLoad
