AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017) (https://forums.alliedmods.net/showthread.php?t=301949)

Elitcky 10-11-2017 01:56

[CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
 
1 Attachment(s)
*
*
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
https://image.prntscr.com/image/Dfj-...1FGwzbRhkw.png

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

B2SX 10-11-2017 01:59

Re: Simple Shop Menu v1.0
 
nice job, keep it up!

Cruze 10-11-2017 02:32

Re: [CS:GO] Simple Shop Menu (v1.00 , 10/11/2017)
 
nice plugin :bacon!:
can you add "bullets" for "weapon_" aswell? :)

Elitcky 10-11-2017 13:52

Re: [CS:GO] Simple Shop Menu (v1.00 , 10/11/2017)
 
Quote:

Originally Posted by Cruze (Post 2553765)
nice plugin :bacon!:
can you add "bullets" for "weapon_" aswell? :)

I didn't understand your idea. Explain it for me please and i will update it. :)

Inkys 10-16-2017 19:40

Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
 
Cool. It worked on my surf kill sv :D thx!

my11 10-16-2017 20:05

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

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

Elitcky 10-16-2017 21:35

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

Originally Posted by my11 (Post 2554927)
And i don't have any item.

Thanks for the advice. Fixed m8

3axap 02-28-2018 06:37

Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
 
Elitcky, hello! Nice idea. Work on CSS?

wantedCSGO 03-28-2020 12:01

Re: [CS:GO] Simple Shop Menu (v1.10 , 10/13/2017)
 
haw to make only CT?

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


All times are GMT -4. The time now is 18:33.

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