[pomoc]erori koje neznam da rijesim

Započeo Aldin Begovic, Februar 15, 2012, 20:46:27 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

mod:Gf
opis porblema:Neznam da rijesim ove erore!
C:\Documents and Settings\Nedda\Desktop\street4life v1.0.1\gamemodes\ad.pwn(43128) : error 032: array index out of bounds (variable "BicSpawns")
C:\Documents and Settings\Nedda\Desktop\street4life v1.0.1\gamemodes\ad.pwn(43128) : error 032: array index out of bounds (variable "BicSpawns")
C:\Documents and Settings\Nedda\Desktop\street4life v1.0.1\gamemodes\ad.pwn(43129) : error 032: array index out of bounds (variable "BicSpawns")
C:\Documents and Settings\Nedda\Desktop\street4life v1.0.1\gamemodes\ad.pwn(43129) : error 032: array index out of bounds (variable "BicSpawns")
cod:if(strcmp(cmd, "/kupibicikl", true) == 0)
{
    if (bicSpectating[playerid][0]!=-1)
    {
        if (Biclist[playerid][bicTyp]==-1)
        {
            new price = BicBuylist[bicSpectating[playerid][0]][Price];
            if (price <= GetPlayerMoney(playerid))
            {
                new bichaus=BicBuylist[bicSpectating[playerid][0]][bichaus];
            GivePlayerMoney(playerid, - price);
            Biclist[playerid][bicTyp]=bicSpectating[playerid][0]; Biclist[playerid][mX]=BicSpawns[Bichaus][mX]; Biclist[playerid][mY]=BicSpawns[Bichaus][mY];
Biclist[playerid][mZ]=BicSpawns[Bichaus][mZ]; Biclist[playerid][mRotation]=BicSpawns[Bichaus][mRotation]; Biclist[playerid][Status]=1; Biclist[playerid][Lock]=0;
Biclist[playerid][Carid]=CreateVehicle(BicBuylist[bicSpectating[playerid][0]][Modelid],Biclist[playerid][mX],Biclist[playerid][mY],Biclist[playerid][mZ],Biclist[playerid][mRotation],-1,-1,-1);
        SetBicParamsForAll(BicBuylist[bicSpectating[playerid][0]][Carid],0,0);
        TogglePlayerControllable(playerid,1);
        bicSpectating[playerid][0]=-1;
        RemovePlayerFromVehicle(playerid);
        BicSave(playerid);
        SBizzInfo[34][sbTill] += 1200;
            ExtortionSBiz(34, 1200);
                    OnPropUpdate();
format(string,128,"* Cestitamo, kupili ste motor marke {FFFFFF}%s "COL_YELLOW"za {FFFFFF}$%i!",BicBuylist[Biclist[playerid][bTyp]][bName],price);
SendClientMessage(playerid, YELLOW, string);
SendClientMessage(playerid, SVETLOPLAVA, "Ako ti je motor unisten {FFFFFF}/mo fix "COL_SVPLAVA"za popravak.");
SendClientMessage(playerid, SVETLOPLAVA, "Motor mozees zakljucat i otkljucat sa komandom {FFFFFF}/mo lock.");
SendClientMessage(playerid, SVETLOPLAVA, "Ostalo: {FFFFFF}(/mo)to.");
SendClientMessage(playerid, COLOR_YELLOW, "Motor sada pripada vama! Zabavite se!");
}
                else { format(string, 128, "Nemas dovoljno novaca! (Potrebno: $%i)!", price); SendClientMessage(playerid, COLOR_LIGHTRED, string); }
}
else { SendClientMessage(playerid, COLOR_GREY, "Vec posjedujes motor!"); }
    }
    else { SendClientMessage(playerid, COLOR_GREY, "Nisi u izlozbenom motoru!"); }
    return 1;
}