Page 1 of 1

[CSGO] SM_GunCommands

Posted: Fri Jan 24, 2020 10:36 am
by Andreeas
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
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>

Download
Source