Skip to content

Weapons: command reference ​

All command areas · Generated from maintained Pawn source. See staff permissions for rank values.

Commands in this area ​

/checkguns · /customgunlist · /dropgun · /giveammo · /givegun · /loadgun · /myammo · /myguns · /passammo · /passgun · /reload · /setarmedweapon · /setaw · /spoofgivegun · /spoofgun

/checkguns ​

/checkguns [player] - (staff) shows a player's weapons.

Source: gamemodes/weapons/data/header.pwn:1227.

Messages / syntax taken from the handler:

text
/checkguns [player]

Staff constants referenced: ADMIN_LVL_JUNIOR. These are not a complete access rule; check the condition and any called helper.

/customgunlist ​

/customgunlist - lists the custom weapons.

Source: gamemodes/weapons/data/header.pwn:1470.

/dropgun ​

/dropgun - drops the weapon you are holding.

Source: gamemodes/weapons/header.pwn:322.

/giveammo ​

Alias of /passammo.

Source: gamemodes/weapons/data/header.pwn:993.

/givegun ​

Alias of /passgun.

Source: gamemodes/weapons/data/header.pwn:450.

/loadgun ​

Alias of /reload.

Source: gamemodes/weapons/data/header.pwn:651.

/myammo ​

/myammo - shows your ammo.

Source: gamemodes/weapons/data/header.pwn:930.

/myguns ​

/myguns - shows your weapons.

Source: gamemodes/weapons/data/header.pwn:1248.

/passammo ​

/passammo [player] - gives ammo to a nearby player.

Source: gamemodes/weapons/data/header.pwn:999.

Messages / syntax taken from the handler:

text
/passammo [targetid] [slot] [amount-of-bullets]

/passgun ​

/passgun [player] - offers your weapon to a nearby player.

Source: gamemodes/weapons/data/header.pwn:529.

Messages / syntax taken from the handler:

text
/passgun [target]

Staff constants referenced: ADMIN_LVL_SENIOR. These are not a complete access rule; check the condition and any called helper.

/reload ​

/reload - reloads your weapon from your ammo.

Source: gamemodes/weapons/data/header.pwn:656.

Messages / syntax taken from the handler:

text
/reload [amount-of-bullets]

/setarmedweapon ​

/setarmedweapon - selects the weapon in your hand.

Source: gamemodes/weapons/header.pwn:386.

/setaw ​

Alias of /setarmedweapon.

Source: gamemodes/weapons/header.pwn:380.

/spoofgivegun ​

/spoofgivegun - (developer) gives a custom weapon for testing.

Source: gamemodes/weapons/data/header.pwn:237.

Messages / syntax taken from the handler:

text
/spoofgivegun [player] [id] [ammo]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/spoofgun ​

/spoofgun - (developer) gives a gun for testing.

Source: gamemodes/weapons/data/header.pwn:265.

Messages / syntax taken from the handler:

text
/spoofgun [id] [ammo]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

Open-source roleplay foundations for open.mp. Bring your own world.