Raised This Month: $51 Target: $400
 12% 

[CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Elitcky
AlliedModders Donor
Join Date: Jun 2016
Location: Antofagasta, Chile
Plugin ID:
5859
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    it's just a normal shop for every mode you want. You can addapt it. You can buy items for money.
    Old 10-11-2017 , 01:56   [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #1

    *
    *
    I was looking for a shop menu which interacts with csgo money and i didn't found one. Im new on Sourcemod pawn so it was a good way to learn more.

    Description

    Like i said it's just a normal shop for every mode you want. You can addapt it.

    For now you can buy in the menu things like
    • Deagle with 1 Bullet
    • +50 HP
    • Decoy Grenade
    • He Grenade
    • Invisibility
    • Gravity
    • Velocity


    IMAGES


    ConVars

    Edit this in cfg/sourcemod/shop_cvars.cfg

    eli_gravity default: 0.60 || Amount of Gravity a player Gets (0.1 = More Gravity // 2.0 = give less Gravity)
    eli_speed default: 1.2 || Amount of Speed a Player gets (0.1 = reduce speed // 2.0 = give more speed)
    eli_time_gravity default: 12.0 || How long the gravity effect lasts
    eli_time_invisibility default: 15.0 || How long the invisibility effect lasts
    eli_time_speed default: 10.0 || How long the speed effect lasts

    Items

    You can edit the items list in addons/sourcemod/configs/mshop/shop_items.cfg


    Commands

    For open the menu type in chat !shop

    Bugs to Fix (If i find i way to do it)
    • All good for now

    Installation
    1. Download the Files at the final of the thread
    2. Open the Rar and Extract the files into your addons/sourcemod folder
    3. Enjoy!

    CREDITS
    Franc1sco - I took some tutorials and copy/paste some functions of his plugins.
    Celofan - Because he made the HNS MODE for csgo and that made me think to make this plugin
    Boomix - Took ideas & stuff from his Basebuilder Menu and Addapted it to General CSGO game.
    Hexer10 - Pull request on Github. Update 1.10


    THIS IS MY FIRST PLUGIN. I am accepting all the criticisms and advices


    CHANGELOG

    Simple Shop Menu v1.0
    Quote:
    1. All good for now.
    Simple Shop Menu v1.1
    Quote:
    1. Added Semicolon required. Changed "else if" style. Removed unseful white space.
    2. Removed smlib.
    3. Removed "Reset" on PlayerDeath
    4. Use SdkHooks to make the Invisibility
    5. Removed 'reset' of variable OnPlayerConnect & Disconnect
    6. Ordered Timers "section"
    7. Chaged 'int' to 'bool'
    8. Made bool 'format' same as other.
    9. Optimased if statements.
    10. Formatted one bracket.
    11. Ordered stocks
    12. No need to save timer handle. + Always pass UserId thru Timers.
    13. Updated compiled binaries
    14. Fixed binaries.
      Thanks to Hexer10 for helping to update the plugin and clean the code!
    Downloads
    SimpleShopMenu-master.zip 4 views
    Attached Files
    File Type: zip SimpleShopMenu-master-v1-1.zip (24.4 KB, 1003 views)
    __________________

    Last edited by Elitcky; 10-21-2017 at 02:18. Reason: updates
    Elitcky is offline
     



    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 08:21.


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