Raised This Month: $52 Target: $400
 13% 

[CSGO] SM_GunCommands <!ak47,!m4a4.......... more!>


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Plugin ID:
5600
Plugin Version:
1.4
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow and go for gun commands in your server chat!
    Old 04-14-2017 , 10:59   [CSGO] SM_GunCommands <!ak47,!m4a4.......... more!>
    Reply With Quote #1

    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
    __________________

    Last edited by Bchewy; 07-02-2017 at 12:34. Reason: v1.4
    Bchewy is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 04-14-2017 , 11:29   Re: [CSGO] Gun Commands <!ak,!awp,!aug etc!>
    Reply With Quote #2

    https://forums.alliedmods.net/showthread.php?t=280959
    same thing i think?
    8guawong is offline
    Bchewy
    AlliedModders Donor
    Join Date: Nov 2014
    Old 04-14-2017 , 12:02   Re: [CSGO] Gun Commands <!ak,!awp,!aug etc!>
    Reply With Quote #3

    Quote:
    Originally Posted by 8guawong View Post
    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!
    __________________
    Bchewy is offline
    505575853
    New Member
    Join Date: May 2017
    Old 08-12-2017 , 20:50   Re: [CSGO] SM_GunCommands <!ak47,!m4a4.......... more!>
    Reply With Quote #4

    Can add a menu to buy?
    505575853 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:55.


    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode