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

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


Post New Thread Reply   
 
Thread Tools Display Modes
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, 996 views)
    __________________

    Last edited by Elitcky; 10-21-2017 at 02:18. Reason: updates
    Elitcky is offline
    B2SX
    Member
    Join Date: Dec 2015
    Location: Israel
    Old 10-11-2017 , 01:59   Re: Simple Shop Menu v1.0
    Reply With Quote #2

    nice job, keep it up!
    __________________
    ◆ Developer - C++,C#,Python,VB.NET,Java,SQF,AS 3.0,AS 2.0,SP,Pawn,LUA
    Steam Link
    B2SX is offline
    Cruze
    Veteran Member
    Join Date: May 2017
    Old 10-11-2017 , 02:32   Re: [CS:GO] Simple Shop Menu (v1.00 , 10/11/2017)
    Reply With Quote #3

    nice plugin
    can you add "bullets" for "weapon_" aswell?
    __________________
    Taking paid private requests! Contact me
    Cruze is offline
    Elitcky
    AlliedModders Donor
    Join Date: Jun 2016
    Location: Antofagasta, Chile
    Old 10-11-2017 , 13:52   Re: [CS:GO] Simple Shop Menu (v1.00 , 10/11/2017)
    Reply With Quote #4

    Quote:
    Originally Posted by Cruze View Post
    nice plugin
    can you add "bullets" for "weapon_" aswell?
    I didn't understand your idea. Explain it for me please and i will update it.
    __________________
    Elitcky is offline
    Inkys
    New Member
    Join Date: Oct 2017
    Old 10-16-2017 , 19:40   Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #5

    Cool. It worked on my surf kill sv thx!
    Inkys is offline
    my11
    Member
    Join Date: Feb 2015
    Location: Argentina
    Old 10-16-2017 , 20:05   Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #6

    Quote:
    [SHOP] You already own this item!
    And i don't have any item.
    __________________

    Last edited by my11; 10-16-2017 at 20:15. Reason: found a bug
    my11 is offline
    Elitcky
    AlliedModders Donor
    Join Date: Jun 2016
    Location: Antofagasta, Chile
    Old 10-16-2017 , 21:35   Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #7

    Quote:
    Originally Posted by my11 View Post
    And i don't have any item.
    Thanks for the advice. Fixed m8
    __________________
    Elitcky is offline
    3axap
    Member
    Join Date: Dec 2012
    Old 02-28-2018 , 06:37   Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #8

    Elitcky, hello! Nice idea. Work on CSS?
    3axap is offline
    wantedCSGO
    Junior Member
    Join Date: Mar 2020
    Old 03-28-2020 , 12:01   Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
    Reply With Quote #9

    haw to make only CT?

    how do i tell them to have full bullets? (deagle)

    Last edited by wantedCSGO; 03-28-2020 at 12:07.
    wantedCSGO 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 01:01.


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