Istnieje zmienna globalna 'button', co koliduje z 'button' na linijce 1263. Przerób tą zmienną w CmdStart na coś innego, na przykład 'localButton', z użyciem get_user_button.
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.
|
1stADXionC
Rejestracja: 16.04.2015Aktualnie: Nieaktywny
Poza forum Ostatnio: 16.09.2023 15:14





Statystyki
- Grupa: Użytkownik
- Całość postów: 443
- Odwiedzin: 7 868
- Tytuł: Wszechobecny
- Wiek: 27 lat
- Urodziny: Marzec 25, 1998
-
Imię
Rafał
-
Płeć
Mężczyzna
-
Lokalizacja
Wrocław
Kontakt
Narzędzia użytkownika
Ostatnio byli
#777200 Dziwne błędy, diablo mod
Napisane przez Robiin
w 27.08.2023 17:00
#777195 [ROZWIĄZANE] informacje w hud, czy jest lepsze rozwiazanie?
Napisane przez PANDA_2zl
w 27.08.2023 11:24
#777192 Dziwne błędy, diablo mod
Napisane przez Engi
w 27.08.2023 10:37
Czym Ty to kompilujesz, że masz tylko 4 błędy?
diablo.sma(1023) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead. diablo.sma(1262) : error 033: array must be indexed (variable "button") diablo.sma(1537) : error 088: number of arguments does not match definition diablo.sma(1702) : error 088: number of arguments does not match definition diablo.sma(1912) : error 088: number of arguments does not match definition diablo.sma(2643) : error 088: number of arguments does not match definition diablo.sma(3059) : error 088: number of arguments does not match definition diablo.sma(3064) : warning 225: unreachable code diablo.sma(3521) : error 088: number of arguments does not match definition diablo.sma(3533) : error 088: number of arguments does not match definition diablo.sma(3563) : error 088: number of arguments does not match definition diablo.sma(3713) : error 088: number of arguments does not match definition diablo.sma(3721) : error 088: number of arguments does not match definition diablo.sma(3730) : error 088: number of arguments does not match definition diablo.sma(3739) : error 088: number of arguments does not match definition diablo.sma(3881) : error 088: number of arguments does not match definition diablo.sma(4813) : error 088: number of arguments does not match definition diablo.sma(4817) : warning 204: symbol is assigned a value that is never used: "user_team" diablo.sma(4827) : error 088: number of arguments does not match definition diablo.sma(5248) : error 088: number of arguments does not match definition diablo.sma(5865) : error 088: number of arguments does not match definition diablo.sma(5969) : error 088: number of arguments does not match definition diablo.sma(6077) : error 088: number of arguments does not match definition diablo.sma(6120) : error 088: number of arguments does not match definition diablo.sma(6176) : error 088: number of arguments does not match definition diablo.sma(6242) : error 088: number of arguments does not match definition diablo.sma(6359) : error 088: number of arguments does not match definition diablo.sma(6364) : error 088: number of arguments does not match definition diablo.sma(6411) : error 088: number of arguments does not match definition
#777189 Dziwne błędy, diablo mod
Napisane przez PANDA_2zl
w 26.08.2023 17:23
#777190 Dziwne błędy, diablo mod
Napisane przez Robiin
w 26.08.2023 22:44
Każde "[]" to kolejny wymiar tablicy. Napis jest tablicą. Przechowujesz tablicę napisów - czyli dwa wymiary. Określanie wielkości tablicy odgórnie jest zbędne, jeśli nie jest wykorzystywane później do niczego innego - jeśli jest, to po prostu popraw "[ILE_KLAS]" na "[ILE_KLAS + 1]" (bo zakładam, że rozmiar się nie zgadza przez to, że masz tam jeszcze "Brak").
Więc
new Race[ILE_KLAS + 1][] = { "Brak", "Czarodziej", "Druid", "Paladyn", "Zabojca", "Nekromanta", "Wojownik", "Ninja", "Lowca"}
lub
new Race[][] = { "Brak", "Czarodziej", "Druid", "Paladyn", "Zabojca", "Nekromanta", "Wojownik", "Ninja", "Lowca"}
#777187 Dziwne błędy, diablo mod
Napisane przez PANDA_2zl
w 26.08.2023 00:34
#777183 Dziwne błędy, diablo mod
Napisane przez DarkGL
w 25.08.2023 08:57
#777181 Dziwne błędy, diablo mod
Napisane przez Robiin
w 24.08.2023 18:31
#777172 Dziwne błędy, diablo mod
Napisane przez PANDA_2zl
w 24.08.2023 00:03
2. Za mało informacji podajesz przy którejś zmiennej, popatrz po deklaracjach zmiennych
3. Przekraczasz rozmiar tablicy, z drugiego nawiasu wyrzuć 9
#772843 okrąg w różnych kolorach
Napisane przez Rivit
w 30.11.2021 17:47
#770480 Zielone napisy (client_print)
Napisane przez sharkowy
w 12.02.2021 13:55
#770467 Zielone napisy (client_print)
Napisane przez DarkGL
w 11.02.2021 19:56
#761931 Kolumna z pieniędzmi w nowej tabelce
Napisane przez Robiin
w 11.10.2019 23:00
Poniżej załączam plugin usuwający pieniądze z prawej częsci ekranu. Wykorzystać to możemy z cs_set_user_money, co w efekcie w tabeli da nam możliwość np. ustawienia poziomu na codach, AP na zombie, szlugów na jb itd. Niestety znak "$" wciąż zostaje w tabeli (ale może nie na długo, kto wie).
#include <amxmodx> #include <hamsandwich> #define AUTHOR "aSior - amxx.pl/user/60210-asiorr/" new messageHideWeapon; public plugin_init() { register_plugin("Scoreboard money replacement", "v0.1", AUTHOR); RegisterHam(Ham_Spawn, "player", "playerSpawn", true); messageHideWeapon = get_user_msgid("HideWeapon"); } public playerSpawn(index) { if(!is_user_alive(index)) { return; } hideMoney(index); } hideMoney(index) { if(!is_user_connected(index) || !is_user_alive(index) || is_user_bot(index) || is_user_hltv(index)) { return; } message_begin(MSG_ONE, messageHideWeapon, _, index); write_byte((1 << 5)); message_end(); }
#770455 Zielone napisy (client_print)
Napisane przez sharkowy
w 11.02.2021 14:26
- AMXX.pl: Support AMX Mod X i SourceMod
- → Przeglądanie profilu: Reputacja: 1stADXionC
- Regulamin