Gun Commands [CSGO]
A simple plugin for gun commands in chat!
Installation
Upload .smx file to /plugins/ folder
Configure configs in /cfg/sm_guncommands_csgo.cfg/
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
Many thanks!
Shanapu - help with a bunch of things ; timer,boolean
EasSidezz - help with me understaind convars and the money system!
Shadowz_au - general sourcemod help and more!
I humbly thank everyone who've helped me, i will be working on this plugin more as i've yet to finish up the guns!
Quote:
TODO:
- cleanup code
- more guns/custom models for guns? (not weapon skins)
- chat triggers in a config file for different gun types
- convar to remove chat triggers
- flag for certain commands
- money give admin command <with specified flag>
|
Quote:
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
|
DOWNLOAD HERE
REPO
__________________