Scripting/Squirrel/Functions/SetAmmuWeapon: Difference between revisions
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Syntax == <pre>SetAmmuWeapon( weaponslot, weaponID, cost )</pre> == Arguments == * '''weaponslot''' - Give the weapon a slot * '''weaponid''' - ID of the weapon * '''cos...") |
(No difference)
|
Latest revision as of 21:07, 22 August 2019
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