31.07.2011, 22:36
Its array crash, show the last print
pawn Код:
if(strcmp("/DelNeon", cmdtext, true, 8) == 0)
{
print("1");
if(!dini_Exists(NeonFile(GetPlayerVehicleID(playerid)))) return SendClientMessage(playerid,0xffffffff,"a`йi" i`?лб ?д ?a`a*i"");
print("2");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xffffffff,"a`ъд i`a` б?лб");
print("3");
dini_Remove(NeonFile(GetPlayerVehicleID(playerid)));
print("4");
DestroyObject(ANeon[GetPlayerVehicleID(playerid)]);
print("5");
RemoveObjectsFromVehicle(GetPlayerVehicleID(playerid));
print("6");
SendClientMessage(playerid,0xffffffff,"озчъ a`ъ д?a`a*?йн u`дйa* болa*?йъ");
return 1;
}