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

[CS:GO, ANY?] Quick Shortcut Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Plugin ID:
7808
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Hook on player press shift key to proceed quick menu and execute client command.
    Old 09-28-2021 , 12:42   [CS:GO, ANY?] Quick Shortcut Menu
    Reply With Quote #1

    Description

    Simple plugin that hook on player press walking key and showing quick menu to them. Since I store all config stuff in enum struct, I set the maximum to 32 choice. if you want to add or reduce the number, you probably need to edit the .sp by yourself. You might see a lot of server has their own !shortcuts plugins. I have re-thought about post this plugin a lot because I know that somebody has done before, but I couldn't find where they post it or maybe if they actually published it.

    This plugin has Client Preference and Also Recommend, Support for Zombie:Reloaded plugin too btw. (Menu will not show up if player is Zombie.)

    Enum Struct
    PHP Code:
    MenuCommand g_Menu[32]; // Maximum 32 choice
    MenuCommand g_Menu[10]; // Maximum 10 choice 
    Command
    sm_shortcut, sm_shortcuts, sm_sc = Toggle Quick Command.
    sm_reloadsc = Reload Config Command.

    Configuration
    Code:
    "quickmenu"
    {
    	"title"
    	{
    		"text"	"[!sc] Quick Shortcuts Menu" // Menu title
    	}
    	"0"
    	{
    		"display"	"!p90 | Buy P90 Command" // Menu Choice to Display
    		"command"	"sm_p90" // Command To execute after the choice has been chosen.
    	}
    	"1"
    	{
    		"display"	"!bizon | Buy PP-Bizon Command"
    		"command"	"sm_bizon"
    	}
    	"2"
    	{
    		"display"	"!kevlar | Buy Armor Kevlar Command"
    		"command"	"sm_kevlar"
    	}
    	"3"
    	{
    		"display"	"!he | Buy HeGrenade Command"
    		"command"	"sm_he"
    	}
    	"4"
    	{
    		"display"	"!mol | Buy Molotov Command"
    		"command"	"sm_mol"
    	}
    	"5"
    	{
    		"display"	"!ex | Exchange Cash to Credit Command"
    		"command"	"sm_exchange"
    	}
    }


    Github : https://github.com/oylsister/QuickShortcut-Menu/
    Attached Files
    File Type: sp Get Plugin or Get Source (quickmenu.sp - 138 views - 5.1 KB)
    File Type: smx quickmenu.smx (6.0 KB, 100 views)
    File Type: txt quickmenu.txt (534 Bytes, 149 views)
    __________________

    Last edited by Oylsister; 09-28-2021 at 12:46.
    Oylsister is offline
    EE171799845
    Member
    Join Date: Mar 2022
    Old 06-20-2022 , 17:27   Re: [CS:GO, ANY?] Quick Shortcut Menu
    Reply With Quote #2

    Quote:
    Originally Posted by Oylsister View Post
    Description

    Simple plugin that hook on player press walking key and showing quick menu to them. Since I store all config stuff in enum struct, I set the maximum to 32 choice. if you want to add or reduce the number, you probably need to edit the .sp by yourself. You might see a lot of server has their own !shortcuts plugins. I have re-thought about post this plugin a lot because I know that somebody has done before, but I couldn't find where they post it or maybe if they actually published it.

    This plugin has Client Preference and Also Recommend, Support for Zombie:Reloaded plugin too btw. (Menu will not show up if player is Zombie.)

    Enum Struct
    PHP Code:
    MenuCommand g_Menu[32]; // Maximum 32 choice
    MenuCommand g_Menu[10]; // Maximum 10 choice 
    Command
    sm_shortcut, sm_shortcuts, sm_sc = Toggle Quick Command.
    sm_reloadsc = Reload Config Command.

    Configuration
    Code:
    "quickmenu"
    {
    	"title"
    	{
    		"text"	"[!sc] Quick Shortcuts Menu" // Menu title
    	}
    	"0"
    	{
    		"display"	"!p90 | Buy P90 Command" // Menu Choice to Display
    		"command"	"sm_p90" // Command To execute after the choice has been chosen.
    	}
    	"1"
    	{
    		"display"	"!bizon | Buy PP-Bizon Command"
    		"command"	"sm_bizon"
    	}
    	"2"
    	{
    		"display"	"!kevlar | Buy Armor Kevlar Command"
    		"command"	"sm_kevlar"
    	}
    	"3"
    	{
    		"display"	"!he | Buy HeGrenade Command"
    		"command"	"sm_he"
    	}
    	"4"
    	{
    		"display"	"!mol | Buy Molotov Command"
    		"command"	"sm_mol"
    	}
    	"5"
    	{
    		"display"	"!ex | Exchange Cash to Credit Command"
    		"command"	"sm_exchange"
    	}
    }


    Github : https://github.com/oylsister/QuickShortcut-Menu/
    I hope it can be used by zombies, because many novice players often become zombies and can't move because of the body of the item card owner. I hope that through this plug-in, zombies can also use ztele quickly, not where the card can't move, or the shortcut instructions that other zombies can use. Thank you very much for your plug-in
    EE171799845 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 16:08.


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