Scripting/Squirrel/Functions/Player.SetWeapon: Difference between revisions
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
Ultimatejugo (talk | contribs) (Created page with " == Syntax == <pre>player.SetWeapon( weaponID, Ammo );</pre> == Example == <pre>if (cmd == "gimmeaweapon") { player.SetWeapon( 24, 999 ); MessagePlayer("you recieved a free...") |
(No difference)
|
Revision as of 11:53, 13 February 2016
Syntax
player.SetWeapon( weaponID, Ammo );
Example
if (cmd == "gimmeaweapon") { player.SetWeapon( 24, 999 ); MessagePlayer("you recieved a free m4!", player); }