AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] SM_GunCommands <!ak47,!m4a4.......... more!> (https://forums.alliedmods.net/showthread.php?t=296189)

Bchewy 04-14-2017 10:59

[CSGO] SM_GunCommands <!ak47,!m4a4.......... more!>
 
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

8guawong 04-14-2017 11:29

Re: [CSGO] Gun Commands <!ak,!awp,!aug etc!>
 
https://forums.alliedmods.net/showthread.php?t=280959
same thing i think?

Bchewy 04-14-2017 12:02

Re: [CSGO] Gun Commands <!ak,!awp,!aug etc!>
 
Quote:

Originally Posted by 8guawong (Post 2512106)

sure, i guess this is just my version, and it's not as complex as franug's. people starting to learn sourcepawn will be able to understand this a lot better

you should probably go with his plugin if you want to make it easier though!

505575853 08-12-2017 20:50

Re: [CSGO] SM_GunCommands <!ak47,!m4a4.......... more!>
 
Can add a menu to buy?


All times are GMT -4. The time now is 01:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.