#define PLUGIN "Call of Duty: MW Mod"
#define VERSION "1.0-3"
#define AUTHOR "QTM_Peyote"
log:
L 11/29/2013 - 20:22:01: Start of error session.
L 11/29/2013 - 20:22:01: Info (map "cs_estate") (file "addons/amxmodx/logs/error_20131129.log")
L 11/29/2013 - 20:22:01: Invalid player id 116
L 11/29/2013 - 20:22:01: [AMXX] Displaying debug trace (plugin "CodModSergioZombie.amxx")
L 11/29/2013 - 20:22:01: [AMXX] Run time error 10: native error (native "client_cmd")
L 11/29/2013 - 20:22:01: [AMXX] [0] QTM_CodMod.sma::WybierzKlase_Handle (line 668)
kod:
public WybierzKlase_Handle(id, menu, item) { client_cmd(id, "spk QTM_CodMod/select"); if(item++ == MENU_EXIT) { menu_destroy(menu); return PLUGIN_CONTINUE; } if(item == klasa_gracza[id] && !nowa_klasa_gracza[id]) return PLUGIN_CONTINUE; nowa_klasa_gracza[id] = item; if(klasa_gracza[id]) ChatColor(id, "!g[Comunity] !nLa clase se cambiara en la !tproxima ronda."); else { UstawNowaKlase(id); DajBronie(id); ZastosujAtrybuty(id); } return PLUGIN_CONTINUE; }
jak to naprawić? z góry dzięki
Użytkownik xPecie edytował ten post 29.11.2013 18:45