Sourcemod gun commands, spawn or buy guns with simple chat commands!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons/sourcemod
.gitattributes
README.md

README.md

Gun Commands for Sourcemod

Made specifically for zombie escape servers

TODO: NO LONGER SUPPORTED

Installation

Upload .smx file to /plugins/ folder
Configure configs in /cfg/sm_guncommands_csgo.cfg/

Gun List (Case sensitive)

ak - AK47
awp - AWP sniper
m4 - M4A1 
m4s - M4A1-Silenced
aug - AUG 
famas - Famas
bizon/bzn - Bizon
p90 - P90
usp - usp pistol
glock - glock pistol
p250 - p250 pistol
deag - deagle
57/five7 - fiveseven pistol
cz - cz pistol
r8 - revolver/r8 pistol
elites - elites/dual berratas
tec9/t9 - tec9/t9 pistols
p2000/p2k - p2000 pistol
flash - flash grenade
he - he grenade 
molo - molotov grenade
decoy - decoy grenade
kev/kevlar - armor

a/b - a comes first for convars
<gunname> is only specified by this list... not EVERY csgo gun/weapon id

Commands

sm_<gunname> - Drops the mentioned guns for players
sm_moneyg - Gives the client $x to spend.

##Convars

sm_gc_<gunname>_p <value> - Price for the gun in integer value(Default:Base gun price)
sm_gc_dropprimary <0/1> - Force the player to drop his/her current primary weapon? 1- Yes 0- No (Default :1)
sm_gc_dropsecondary <0/1> - Force the player to drop his/her current secondary weapon? 1- Yes 0-No (Default :1)
sm_gc_givemoney <value> - Amount of money given when client uses sm_moneyg (Default:10000)
sm_moneygive_flag <flags> - WIP

Changelog

V1.4
- removed RDG version (removed grenades except for HE nade)
- clean up code
- changed convars for guns to fit above
- update compile.exe and spcompile.exe for windows 10 compiliation
- added convar for grenade prices
- cleaned up folder organisation (plugins folder is not added)
V1.3
- added all remaining pistols and convars for price
V1.2
- added usp-s,p90 and force conavr for secondaries
V1.1
- added all grenades into usage
- added armor <sm_kev>
V1.0
- Launch

Discussion : https://forums.alliedmods.net/showthread.php?p=2512096