*
*
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)
Installation
- Download the Files at the final of the thread
- Open the Rar and Extract the files into your addons/sourcemod folder
- 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
Simple Shop Menu v1.1
Quote:
- Added Semicolon required. Changed "else if" style. Removed unseful white space.
- Removed smlib.
- Removed "Reset" on PlayerDeath
- Use SdkHooks to make the Invisibility
- Removed 'reset' of variable OnPlayerConnect & Disconnect
- Ordered Timers "section"
- Chaged 'int' to 'bool'
- Made bool 'format' same as other.
- Optimased if statements.
- Formatted one bracket.
- Ordered stocks
- No need to save timer handle. + Always pass UserId thru Timers.
- Updated compiled binaries
- Fixed binaries.
Thanks to Hexer10 for helping to update the plugin and clean the code!
|
Downloads
SimpleShopMenu-master.zip
4 views