Scripting/Squirrel/Functions/Player.SetWeapon
This wiki is using an old backup from 2020
Some information may be old/missing
Syntax
player.SetWeapon( weaponID, Ammo );
Example
if (cmd == "gimmeaweapon") { player.SetWeapon( 24, 999 ); MessagePlayer("you recieved a free m4!", player); }