Witam
niewiem gdzie popelnilem blad w sma przy robieniu 2 postaci
switch(klasa_gracza[id])
{
case Snajper:
{
give_item(id, "weapon_awp");
give_item(id, "weapon_scout");
give_item(id, "weapon_deagle");
}
case Komandos:
{
give_item(id, "weapon_deagle");
give_item(id, "weapon_usp");
give_item(id, "weapon_glock18");
give_item(id, "weapon_elite");
}
case Strzelec:
{
give_item(id, "weapon_m4a1");
give_item(id, "weapon_ak47");
}
case Obronca:
{
give_item(id, "weapon_m249");
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
}
case Medyk:
{
give_item(id, "weapon_ump45");
ilosc_apteczek_gracza[id] = 2;
}
case Wsparcie:
{
give_item(id, "weapon_mp5navy");
ilosc_rakiet_gracza[id] = 2;
}
case Saper:
{
give_item(id, "weapon_p90");
ilosc_min_gracza[id] = 3;
}
case Demolitions:
{
give_item(id, "weapon_aug");
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
ilosc_dynamitow_gracza[id] = 1;
}
case Rusher:
{
give_item(id, "weapon_m3");
}
case KoKs:
{
give_item(id, "weapon_tmp")
give_item(id, "weapon_mac10")
}
case Killer:
{
give_item(id, "weapon_sg552")
give_item(id, "weapon_glock18")
}
case Rambo:
{
give_item(id, "weapon_famas");
}
}
mam 2 errory
function or declaration
loose indentation
proszę o pomoc
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.
|
Guest Message by DevFuse
error compile
Temat rozp. K1cK_PL, 22.06.2010 16:12
7 odpowiedzi w tym temacie
#1
Napisano 22.06.2010 16:12
#2
Napisano 22.06.2010 17:12
Może tak lepiej:
switch(klasa_gracza[id])
{
case Snajper:
{
give_item(id, "weapon_awp");
give_item(id, "weapon_scout");
give_item(id, "weapon_deagle");
}
case Komandos:
{
give_item(id, "weapon_deagle");
give_item(id, "weapon_usp");
give_item(id, "weapon_glock18");
give_item(id, "weapon_elite");
}
case Strzelec:
{
give_item(id, "weapon_m4a1");
give_item(id, "weapon_ak47");
}
case Obronca:
{
give_item(id, "weapon_m249");
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
}
case Medyk:
{
give_item(id, "weapon_ump45");
ilosc_apteczek_gracza[id] = 2;
}
case Wsparcie:
{
give_item(id, "weapon_mp5navy");
ilosc_rakiet_gracza[id] = 2;
}
case Saper:
{
give_item(id, "weapon_p90");
ilosc_min_gracza[id] = 3;
}
case Demolitions:
{
give_item(id, "weapon_aug");
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
ilosc_dynamitow_gracza[id] = 1;
}
case Rusher:
{
give_item(id, "weapon_m3");
}
case KoKs:
{
give_item(id, "weapon_tmp");
give_item(id, "weapon_mac10");
}
case Killer:
{
give_item(id, "weapon_sg552");
give_item(id, "weapon_glock18");
}
case Rambo:
{
give_item(id, "weapon_famas");
}
}
#3
Napisano 22.06.2010 17:59
tez niedziala
22 czerwiec 2010 - 17:59:
nadal 2 errory
a oto sma moje
22 czerwiec 2010 - 17:59:
nadal 2 errory
a oto sma moje
Załączone pliki
#4
Napisano 22.06.2010 18:09
QTM_CodMod (1).amxx 53,25 KB 12 Ilość pobrań
QTM_CodMod (1).sma 49,75 KB 33 Ilość pobrań
QTM_CodMod (1).amxx
QTM_CodMod (1).sma 49,75 KB 33 Ilość pobrań
QTM_CodMod (1).amxx
#5
Napisano 22.06.2010 18:27
ok dziekuje wam obydwom
22 czerwiec 2010 - 18:16:
ale nadal niewiem gdzie popelnilem blad powie mi ktos proszę?
22 czerwiec 2010 - 18:20:
yy cos sie stalo i niermozna klasy wybrac ;//
22 czerwiec 2010 - 18:26:
L 06/22/2010 - 12:15:37: Start of error session.
L 06/22/2010 - 12:15:37: Info (map "cs_assault_shadow") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 12:15:37: [FAKEMETA] Invalid entity
L 06/22/2010 - 12:15:37: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 12:15:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 12:15:50: [FAKEMETA] Invalid entity
L 06/22/2010 - 12:15:50: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 12:15:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:43:16: Start of error session.
L 06/22/2010 - 15:43:16: Info (map "cs_militia") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 15:43:16: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 15:56:31: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:56:31: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:56:31: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:56:32: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:56:32: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:56:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:57:46: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:57:46: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:57:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:01:06: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:01:06: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:01:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:06: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:06: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:07: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:07: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:07: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:37: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:37: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:40: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:40: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:24:30: Start of error session.
L 06/22/2010 - 16:24:30: Info (map "awp_map") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:24:30: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:25:49: Start of error session.
L 06/22/2010 - 16:25:49: Info (map "aim_map_usp") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:25:49: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:41:03: Start of error session.
L 06/22/2010 - 16:41:03: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:41:03: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:48:32: Start of error session.
L 06/22/2010 - 16:48:32: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:48:32: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:54:25: Start of error session.
L 06/22/2010 - 16:54:25: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:54:25: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:56:46: Start of error session.
L 06/22/2010 - 16:56:46: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:56:46: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 17:23:50: Start of error session.
L 06/22/2010 - 17:23:50: Info (map "ship_fight") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 17:23:50: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 17:29:11: Start of error session.
L 06/22/2010 - 17:29:11: Info (map "cs_assault") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 17:29:11: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 18:26:36: Start of error session.
L 06/22/2010 - 18:26:36: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 18:26:36: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:02:44: Start of error session.
L 06/22/2010 - 19:02:44: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:02:44: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:20:38: Start of error session.
L 06/22/2010 - 19:20:38: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:20:38: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:20:38: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:23:01: Start of error session.
L 06/22/2010 - 19:23:01: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:23:01: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:23:01: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:28:15: Start of error session.
L 06/22/2010 - 19:28:15: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:28:15: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:28:15: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
22 czerwiec 2010 - 18:26:
to sa logi
22 czerwiec 2010 - 18:27:
jakby caly mod sie wylonczyl nic nie dziala
22 czerwiec 2010 - 18:16:
ale nadal niewiem gdzie popelnilem blad powie mi ktos proszę?
22 czerwiec 2010 - 18:20:
yy cos sie stalo i niermozna klasy wybrac ;//
22 czerwiec 2010 - 18:26:
L 06/22/2010 - 12:15:37: Start of error session.
L 06/22/2010 - 12:15:37: Info (map "cs_assault_shadow") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 12:15:37: [FAKEMETA] Invalid entity
L 06/22/2010 - 12:15:37: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 12:15:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 12:15:50: [FAKEMETA] Invalid entity
L 06/22/2010 - 12:15:50: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 12:15:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:43:16: Start of error session.
L 06/22/2010 - 15:43:16: Info (map "cs_militia") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 15:43:16: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 15:56:31: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:56:31: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:56:31: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:56:32: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:56:32: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:56:32: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 15:57:46: [FAKEMETA] Invalid entity
L 06/22/2010 - 15:57:46: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 15:57:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:01:06: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:01:06: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:01:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:06: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:06: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:06: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:07: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:07: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:07: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:37: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:37: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:37: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:02:40: [FAKEMETA] Invalid entity
L 06/22/2010 - 16:02:40: [AMXX] Run time error 10 (plugin "prometheus.amxx") (native "pev") - debug not enabled!
L 06/22/2010 - 16:02:40: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 06/22/2010 - 16:24:30: Start of error session.
L 06/22/2010 - 16:24:30: Info (map "awp_map") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:24:30: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:25:49: Start of error session.
L 06/22/2010 - 16:25:49: Info (map "aim_map_usp") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:25:49: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:41:03: Start of error session.
L 06/22/2010 - 16:41:03: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:41:03: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:48:32: Start of error session.
L 06/22/2010 - 16:48:32: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:48:32: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:54:25: Start of error session.
L 06/22/2010 - 16:54:25: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:54:25: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 16:56:46: Start of error session.
L 06/22/2010 - 16:56:46: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 16:56:46: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 17:23:50: Start of error session.
L 06/22/2010 - 17:23:50: Info (map "ship_fight") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 17:23:50: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 17:29:11: Start of error session.
L 06/22/2010 - 17:29:11: Info (map "cs_assault") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 17:29:11: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 18:26:36: Start of error session.
L 06/22/2010 - 18:26:36: Info (map "de_dust2_long") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 18:26:36: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:02:44: Start of error session.
L 06/22/2010 - 19:02:44: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:02:44: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:20:38: Start of error session.
L 06/22/2010 - 19:20:38: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:20:38: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:20:38: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:23:01: Start of error session.
L 06/22/2010 - 19:23:01: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:23:01: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:23:01: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
L 06/22/2010 - 19:28:15: Start of error session.
L 06/22/2010 - 19:28:15: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100622.log")
L 06/22/2010 - 19:28:15: [AMXX] Plugin file open error (plugin "QTM_CodMod.amxx")
L 06/22/2010 - 19:28:15: [AMXX] Plugin file open error (plugin "Cod-Stats.amx")
22 czerwiec 2010 - 18:26:
to sa logi
22 czerwiec 2010 - 18:27:
jakby caly mod sie wylonczyl nic nie dziala
#6
Napisano 22.06.2010 18:52
się nie dziwie jak nie masz włączonych modułów
#7
Napisano 22.06.2010 18:54
NO ZCOMPILOWALEM TO OD CIEBIE i dalej niedziala
#8
Napisano 22.06.2010 20:19
EDIT: zobacz tą wersje
Użytkownik hardbot edytował ten post 22.06.2010 20:52
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych