Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[CS:GO, ANY?] Quick Shortcut Menu


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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"
        }
}

68747470733a2f2f63646e2e646973636f726461

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

Attached Files
File Type: sp Get Plugin or Get Source (quickmenu.sp - 5.1 KB)
File Type: smx quickmenu.smx (6.0 KB)
File Type: txt quickmenu.txt (534 Bytes)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...