Scripting/Squirrel/Functions/SetAmmuWeapon
This wiki is using an old backup from 2020
Some information may be old/missing
Syntax
SetAmmuWeapon( weaponslot, weaponID, cost )
Arguments
- weaponslot - Give the weapon a slot
- weaponid - ID of the weapon
- cost - The amount of money
Example
function onScriptLoad () {
SetAmmuWeapon(10,21,10)
}
Notes
The function onScriptLoad