[POMOC]Check Pointi

Započeo Kazzy10, Novembar 09, 2010, 16:59:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

/* if(strcmp(cmd, "/ruta1", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pJob] == 11)
        {
if(PlayerToPoint(5.0,playerid, -382.7561,-1426.4209,26.2636))
{
SetPlayerCheckpoint(playerid, -331.7862,-1469.4043,15.8763,5.0);
CP[playerid] = 200;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Nisi na poziciji za zapoceti posao !");
    return 1;
}
}
}
    return 1;
} */


    else if(CP[playerid] == 200) { CP[playerid] = 201; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -222.5670,-1470.7787,7.7158,10.0); } //2
else if(CP[playerid] == 201) { CP[playerid] = 202; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -258.9435,-1489.2404,6.6851,10.0); } //3
    else if(CP[playerid] == 202) { CP[playerid] = 203; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -322.3737,-1501.4976,14.0453,10.0); } //4
    else if(CP[playerid] == 203) { CP[playerid] = 204; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -228.5941,-1505.0057,8.4949,10.0); } //5
    else if(CP[playerid] == 204) { CP[playerid] = 205; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -273.8389,-1520.7468,6.0579,10.0); } //6
    else if(CP[playerid] == 205) { CP[playerid] = 206; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -276.0248,-1538.3105,6.1279,10.0); } //7
    else if(CP[playerid] == 206) { CP[playerid] = 207; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -355.9875,-1554.7242,20.6649,10.0); } //8
    else if(CP[playerid] == 207) { CP[playerid] = 208; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -400.8510,-1516.7589,24.6159,10.0); } //9
    else if(CP[playerid] == 208)
{
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED, "Zavrsili ste vasu rutu");
SendClientMessage(playerid, COLOR_LIGHTRED, "Zaradili ste 500$!");
GivePlayerMoney(playerid, 500);
}


I sada kada dodem na prvi predem.. i nevidim drugi checkpoint ?