←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Błąd "index out of bounds"

Kukol - zdjęcie Kukol 19.11.2011

Mam pewny błąd:


L 11/19/2011 - 00:42:00: [AMXX]    [0] Plugin.sma::fwItemDeploy (line 342)
L 11/19/2011 - 00:42:28: [AMXX] Displaying debug trace (plugin "Plugin.amxx")
L 11/19/2011 - 00:42:28: [AMXX] Run time error 4: index out of bounds


public fwItemDeploy(wpn){
static iOwner;
iOwner = entity_get_edict(wpn, EV_ENT_owner)

if(zmien_wyglad[iOwner] && is_user_connected(iOwner) && is_user_alive(iOwner)) // linijka 342
entity_set_string(iOwner, EV_SZ_viewmodel, "models/DiabloMod/v_mp5navy.mdl")

}



Jak go naprawić?
Odpowiedz