Witam czy znacie jakiś plugin lub jakiś kod by zablokować zwykłemu graczu dostęp do komendy a udostępnić ją vipowi
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|

Komenda Tylko Dla Vipa
#1
Napisano 08.05.2015 14:44
#2
Napisano 08.05.2015 15:02
Wystarczy wpis w pliku /csgo/addons/sourcemod/configs/admin_overrides.cfg
#3
Napisano 08.05.2015 16:14
Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name. Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/
}
#4
Napisano 08.05.2015 17:19
Przed zamknięciem klasy (czyli przed klamrą } ) dajesz na przykład:
"sm_nextmap" "s"
i wtedy komenda !nextmap będzie na flagę "s".
#5
Napisano 08.05.2015 19:05
Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name. Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/
}
Ovverides
{
"wskins" "cdr"
"ws" "cdr"
"paints" "cdr"
}
}
Użytkownik kroxxx edytował ten post 08.05.2015 19:10
#6
Napisano 08.05.2015 20:22
Po 1 źle to zrobiłeś, a po 2 szkoda, że nie sprecyzowałeś, że chodzi Ci o ten plugin. Zobacz ten temat: http://amxx.pl/topic...ugin-pod-flagę/
#7
Napisano 09.05.2015 21:36
Dzięki ale zablokowane są tylko komendy a jak kliknę "," to dalej działa menu
Również z jednym lub większą ilością słów kluczowych: cs:go, cmd na flage, komenda na flage, source mod
CS:GO
[Szukam] Kill sound/PluginNapisany przez Kacperix, 24.03.2024 ![]() |
|
![]() |
|||
Kupię/zlecę napisanie - COD MOD do CS:GONapisany przez Remulux, 18.02.2023 ![]() |
|
![]() |
|||
CS:GO
Ultra VIPZaawansowany system VIP na twój serwer Napisany przez Mesharsky, 15.02.2023 ![]() |
|
![]() |
|||
CS:GO
Reklama Kill4uHubercik. Napisany przez Hubercik., 05.01.2023 ![]() |
|
![]() |
|||
![]() |
CS:GO
[KOSZ] Pomoc w PluginieNapisany przez WaleWiadroo, 10.12.2022 ![]() |
|
![]() |
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych