UP (c'est bon qa me l'affiche mais j'ai un PB qui est chiant...)
Voilà :
new :
new Check1,Check2,Check3,Check4,Check5,Check6,Check7,Check8,Check9,Check10,Check11,
Check12,Check13,Check14,Check15,Check16,Check17,Check18,Check19,Check20,Check21,Check22,
Check23,Check24,Check25,Check26,Check27;
OnPlayerConnect :
Check1 = SetPlayerCheckpoint(playerid,1940.72,-1135.29,25.33,6);
public :
public OnPlayerEnterCheckpoint(playerid) {
if (Check1){
DisablePlayerCheckpoint(Check1);
Check2 = SetPlayerCheckpoint(playerid,1972.77,-1227.57,24.84,6);
if (Check2){
DisablePlayerCheckpoint(Check2);
Check3 = SetPlayerCheckpoint(playerid,2044.1636,-1261.2198,23.8203,6);
if (Check3){
DisablePlayerCheckpoint(Check3);
Check4 = SetPlayerCheckpoint(playerid,2044.1636,-1261.2198,23.8203,6);
if (Check4){
DisablePlayerCheckpoint(Check4);
Check5 = SetPlayerCheckpoint(playerid,2069.3430,-1363.0996,23.8153,6);
if (Check5){
DisablePlayerCheckpoint(Check5);
Check6 = SetPlayerCheckpoint(playerid,2112.3040,-1405.8660,23.8281,6);
if (Check6){
DisablePlayerCheckpoint(Check6);
Check7 = SetPlayerCheckpoint(playerid,2111.1165,-1690.6434,13.3828,6);
if (Check7){
DisablePlayerCheckpoint(Check7);
Check8 = SetPlayerCheckpoint(playerid,2110.7415,-1785.9918,13.3865,3);
if (Check8){
DisablePlayerCheckpoint(Check8);
Check9 = SetPlayerCheckpoint(playerid,2048.6125,-1812.2382,13.3828,6);
if (Check9){
DisablePlayerCheckpoint(Check9);
Check10 = SetPlayerCheckpoint(playerid,1952.5049,-1825.4863,13.5469,3);
if (Check10){
DisablePlayerCheckpoint(Check10);
Check11 = SetPlayerCheckpoint(playerid,1770.5269,-1826.2952,13.3828,6);
if (Check11){
DisablePlayerCheckpoint(Check11);
Check12 = SetPlayerCheckpoint(playerid,1642.8663,-1872.3989,13.3828,6);
if (Check12){
DisablePlayerCheckpoint(Check12);
Check13 = SetPlayerCheckpoint(playerid,1501.2822,-1859.5732,13.5469,3);
if (Check13){
DisablePlayerCheckpoint(Check13);
Check14 = SetPlayerCheckpoint(playerid,1404.2217,-1838.4891,13.5469,6);
if (Check14){
DisablePlayerCheckpoint(Check14);
Check15 = SetPlayerCheckpoint(playerid,1366.1760,-1819.7883,13.5628,6);
if (Check15){
DisablePlayerCheckpoint(Check15);
Check16 = SetPlayerCheckpoint(playerid,1339.6797,-1768.3707,13.5354,6);
if (Check16){
DisablePlayerCheckpoint(Check16);
Check17 = SetPlayerCheckpoint(playerid,1357.2197,-1677.1100,13.5974,6);
if (Check17){
DisablePlayerCheckpoint(Check17);
Check18 = SetPlayerCheckpoint(playerid,1386.3151,-1547.2966,13.3974,6);
if (Check18){
DisablePlayerCheckpoint(Check18);
Check19 = SetPlayerCheckpoint(playerid,1397.0167,-1423.2772,13.3828,6);
if (Check19){
DisablePlayerCheckpoint(Check19);
Check20 = SetPlayerCheckpoint(playerid,1185.8276,-1399.9023,13.2021,6);
if (Check20){
DisablePlayerCheckpoint(Check20);
Check21 = SetPlayerCheckpoint(playerid,1144.1449,-1363.2299,13.7184,6);
if (Check21){
DisablePlayerCheckpoint(Check21);
Check22 = SetPlayerCheckpoint(playerid,1085.8591,-1335.0977,13.6467,6);
if (Check22){
DisablePlayerCheckpoint(Check22);
Check23 = SetPlayerCheckpoint(playerid,917.3154,-1384.5354,13.2335,6);
if (Check23){
DisablePlayerCheckpoint(Check23);
Check24 = SetPlayerCheckpoint(playerid,866.9455,-1360.3541,13.5736,3);
if (Check24){
DisablePlayerCheckpoint(Check24);
Check25 = SetPlayerCheckpoint(playerid,796.9495,-1378.7316,13.4033,6);
if (Check25){
DisablePlayerCheckpoint(Check25);
Check26 = SetPlayerCheckpoint(playerid,778.9990,-1050.0117,24.4375,6);
if (Check26){
DisablePlayerCheckpoint(Check26);
Check27 = SetPlayerCheckpoint(playerid,534.5603,-1246.4725,16.4835,6);
if (Check27){
DisablePlayerCheckpoint(Check3);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return 1;
}
(En passant, y a pas un trucs pour qu'une accolade compte pour plusieurs ? :D)
Donc mon problème :
Le premier CP apparaît, je le prend il disparaît et ensuite c'est le dernier des CP qui apparaît... Je dois sûrement faire une faute bête qui me fait pêter un cable. :wall