View Single Post
Author Message
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Old 12-04-2021 , 11:40   [CS:GO/CS:S] SM-GunMenu
Reply With Quote #1

[CS:GO/CS:S] SM-GunMenu

Description

Allowing player to purchase weapon through command and menu with customizable command for each weapon on config.
* The Project purpose mainly for ZMarket (Zombie:Reloaded) and Market (Zombie:Riot) replacement. but in the end it will eventually work for normal mode too.
Here is come another "Purchase weapon with command and menu plugin". So let me explain some feature.


Download

Feature
  • Support for Zombie:Reloaded, Zombie Riot and SM:RPG
  • Restrict Option for each weapon.
  • Allowing Player to save their own loadout.
  • Allowing Customize more than 1 command for each gun. - Meaning you don't have to do RegConsoleCmd just to add more command for purchase the same gun.
  • Allowing Player to toggle Auto-Rebuy on spawn.
  • Hook the normal buy option in buyzone. - Meaning purchase on normal CSGO menu, will automatically execute with this plugin instead. (You can disable it later.)
  • Allowing Customize more than 1 command for menu. - Same like command for each gun, but this is for to open gun menu instead.
  • Maximum Purchase for each weapon.
  • Multi Price on Second Purchase for each weapon. - Still experiment

ConVars
  • sm_gunmenu_buyzoneonly <0.0-1.0> Default: 0.0 - Only allow to purchase on buyzone only
  • sm_gunmenu_command [command] Default: "sm_gun,sm_guns" - Specific command for open menu command
  • sm_gunmenu_hookbuyzone <0.0-1.0> Default: 1.0 - Also apply purchase method to player purchase with default buy menu from buyzone
  • sm_gunmenu_prefix <prefix-name> Default: "[ZBuy]" - Prefix for plugin
  • sm_gunmenu_configpath <config-path> Default: "configs/gun_menu.txt - Specify the path of config file for gun menu

Command
  • sm_restrict <weaponname> - Restrict Weapon Command
  • sm_unrestrict <weaponname> - Unrestrict Weapon Command
  • sm_reloadweapon - Reload Config Command

Installation
  1. Download the .smx file based on your game mode or get the .sp file and compile with yourself.
  2. Simply drag .smx file to plugins folder and drag config file to configs folder
  3. If it get updated, try checking out the Source Code and download from there.
Attached Files
File Type: txt gun_menu.txt (7.8 KB, 221 views)
File Type: sp Get Plugin or Get Source (gun_menu.sp - 326 views - 52.4 KB)
File Type: smx gun_menu_normal.smx (19.3 KB, 167 views)
File Type: smx gun_menu_zombiereloaded.smx (19.3 KB, 147 views)
File Type: smx gun_menu_zriot.smx (19.3 KB, 119 views)
File Type: smx gun_menu_zriot_smrpg.smx (19.6 KB, 93 views)
__________________

Last edited by Oylsister; 12-06-2021 at 11:46. Reason: updated files
Oylsister is offline