Scripting/Squirrel/Functions/SetAmmuWeapon

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
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