Detaljan opis problema:Negdje sam pogresio
Dio skripte:
if(CP >= 110 && CP <= 141)
{
if (IsPlayerInAnyVehicle(playerid))
{
new carid = GetPlayerVehicleID(playerid);
if(IsAVrtlarBTD(carid))
{
else if(CP == 111) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2312.3503,159.9721,35.3125,4.0);
else if(CP == 112) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.1987,163.3916,35.3125,4.0);
else if(CP == 113) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2323.9607,163.2915,35.3125,4.0);
else if(CP == 114) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.2595,167.1144,35.3125,4.0);
else if(CP == 115) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2330.7578,166.6659,35.3125,4.0);
else if(CP == 116) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.8376,169.8229,35.3125,4.0);
else if(CP == 117) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2335.4097,170.2089,35.3125,4.0);
else if(CP == 118) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.5488,173.5412,35.3125,4.0);
else if(CP == 119) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2339.7166,173.7866,35.3056,4.0);
else if(CP == 120) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.1548,176.9408,35.3125,4.0);
else if(CP == 121) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2342.6558,176.9886,35.3056,4.0);
else if(CP == 122) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.9768,180.6246,35.3125,4.0);
else if(CP == 123) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2345.1865,180.4193,35.3125,4.0);
else if(CP == 124) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.7581,184.0976,35.3125,4.0);
else if(CP == 125) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2347.6313,184.1830,35.3125,4.0);
else if(CP == 126) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.4065,187.8425,35.3125,4.0);
else if(CP == 127) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2349.6099,187.5932,35.3125,4.0);
else if(CP == 128) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.5845,191.0532,35.3125,4.0);
else if(CP == 129) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2350.7671,191.2015,35.3125,4.0);
else if(CP == 130) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.2424,194.3866,35.3125,4.0);
else if(CP == 131) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2352.5879,194.7291,35.3125,4.0);
else if(CP == 132) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.4795,197.7377,35.3125,4.0);
else if(CP == 133) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2353.4924,198.0245,35.3125,4.0);
else if(CP == 134) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.4915,201.5268,35.3125,4.0);
else if(CP == 135) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2353.9487,201.5437,35.3125,4.0);
else if(CP == 136) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2299.6814,204.9145,35.3125,4.0);
else if(CP == 137) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2354.2751,204.6827,35.3125,4.0);
else if(CP == 138) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2302.0488,208.2914,35.3125,4.0);
else if(CP == 139) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2354.4446,208.4662,35.3125,4.0);
else if(CP == 140) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2305.6218,211.7867,35.3125,4.0);
else if(CP == 141) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2354.3123,212.0857,35.3125,4.0);
else if(CP == 141)
{
DisablePlayerCheckpoint(playerid);
TogglePlayerControllable(playerid, 1);
CP = 0;
new bonus = random(30);
PlayerInfo = 150;
new stringa;
format(stringa,sizeof(stringa),"\n___________________\n\n{11FF00}Zarada: %d\n{F3FF02}Bonus: %d\n___________________\n{11FF00}Ukupno: %d",PlayerInfo,bonus,PlayerInfo+bonus);
ShowPlayerDialog(playerid,9999,DIALOG_STYLE_MSGBOX,"{FFFFFF}Posao | {FFFF33}Info",stringa,"U redu","");
}
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno):

