AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO, ANY?] Quick Shortcut Menu (https://forums.alliedmods.net/showthread.php?t=334496)

Oylsister 09-28-2021 12:42

[CS:GO, ANY?] Quick Shortcut Menu
 
3 Attachment(s)
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"
        }
}

https://cdn.discordapp.com/attachmen...0495006/sc.png

Github : https://github.com/oylsister/QuickShortcut-Menu/

EE171799845 06-20-2022 17:27

Re: [CS:GO, ANY?] Quick Shortcut Menu
 
Quote:

Originally Posted by Oylsister (Post 2759107)
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"
        }
}

https://cdn.discordapp.com/attachmen...0495006/sc.png

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


All times are GMT -4. The time now is 06:47.

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