[pomoc] oko checkpoint

Započeo El Toni, Jul 08, 2011, 21:44:39 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: blodlife roleplay
Detaljan opis problema: ma kad ides kupit vozacku dozvolu kad upises /buydriving kupis ono dozovlu i odnesite u sf na poligonom ali kad udzes u auto za polaganje nedolazi checkpointa.....cekao sam ali nie dolazio prvio checkpoint...kako da popravim to
Dio skripte: evo ovo ne pokazue ...kad udzem u auto iz autoskole treba da mi da ove checkpointe ali ono nece..
if(IgracPolaze[playerid] == 1)
{
new newcar = GetPlayerVehicleID(playerid);
if(!AutoSkolaAuto(newcar))
{
    SendClientMessage(playerid,COLOR_WHITE,"Morate da bidete vo voziloto na  Auto-Skolata!");
    return 1;
}
else if(CP[playerid] == 1000) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2026.1802,-168.4384,35.0365,4.0); CP[playerid] = 1001; SendClientMessage(playerid,COLOR_WHITE,"Dobro dosli na polaganje");}
    else if(CP[playerid] == 1001) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2045.9161,-168.3973,35.0365,4.0); CP[playerid] = 1002; }
    else if(CP[playerid] == 1002) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2055.0515,-161.5036,35.0366,4.0); CP[playerid] = 1003; }
    else if(CP[playerid] == 1003) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2055.3991,-149.7017,35.0408,4.0); CP[playerid] = 1004; SendClientMessage(playerid,COLOR_WHITE,"Vozite pravo do zaustavne linije");}
    else if(CP[playerid] == 1004) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2045.0499,-156.3558,35.0397,4.0); CP[playerid] = 1005; SendClientMessage(playerid,COLOR_WHITE,"Sada vozite u rikverc do zaustavne linije");}
    else if(CP[playerid] == 1005) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2054.0124,-156.0578,35.0368,4.0); CP[playerid] = 1006; }
    else if(CP[playerid] == 1006) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2070.6306,-155.9668,35.0370,4.0); CP[playerid] = 1007; }
    else if(CP[playerid] == 1007) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2089.1879,-156.3824,35.0368,4.0); CP[playerid] = 1008; SendClientMessage(playerid,COLOR_WHITE,"Vozite pravo do zaustavne linije");}
    else if(CP[playerid] == 1008) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2077.9396,-163.2512,35.0362,4.0); CP[playerid] = 1009; SendClientMessage(playerid,COLOR_WHITE,"Sada udjite u rikverc u garazu");}
    else if(CP[playerid] == 1009) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2077.5859,-173.1346,35.0357,4.0); CP[playerid] = 1010; }
    else if(CP[playerid] == 1010) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2077.9140,-155.0310,35.0367,4.0); CP[playerid] = 1011; }
    else if(CP[playerid] == 1011) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2078.4199,-138.3420,35.0362,4.0); CP[playerid] = 1012; SendClientMessage(playerid,COLOR_WHITE,"Sada samo do zaustavne linije");}
//gradska
else if(CP[playerid] == 1012)
{

if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar,-2046.925292,-97.473167,34.732051);
}
SendClientMessage(playerid,COLOR_WHITE,"Zavrsili ste poligon, u koliko ste prosli, ide gradska voznja");
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,-2045.253662,-79.123504,34.723171,4.0);
CP[playerid] = 1013;
}
else if(CP[playerid] == 1013) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2019.126953,-72.553985,34.714530,4.0); CP[playerid] = 1014; }
else if(CP[playerid] == 1014) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2004.274902,-59.062587,34.739490,4.0); CP[playerid] = 1015; }
else if(CP[playerid] == 1015) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2003.469604,13.172634,32.7259670,4.0); CP[playerid] = 1016; }
else if(CP[playerid] == 1016) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2003.509277,159.963592,27.105400,4.0); CP[playerid] = 1017; }
else if(CP[playerid] == 1017) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2000.251831,302.866943,34.302989,4.0); CP[playerid] = 1018; }
else if(CP[playerid] == 1018) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2018.377075,322.638397,34.578002,4.0); CP[playerid] = 1019; }
else if(CP[playerid] == 1019) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2134.709716,322.438934,34.723937,4.0); CP[playerid] = 1020; }
else if(CP[playerid] == 1020) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2157.883056,322.223144,34.736476,4.0); CP[playerid] = 1021; }
else if(CP[playerid] == 1021) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2239.573242,322.606079,34.749355,4.0); CP[playerid] = 1022; }
else if(CP[playerid] == 1022) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2254.805664,309.078704,34.737968,4.0); CP[playerid] = 1023; }
else if(CP[playerid] == 1023) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2255.006103,215.778076,34.733486,4.0); CP[playerid] = 1024; }
else if(CP[playerid] == 1024) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2257.176513,50.701431,34.7382160,4.0); CP[playerid] = 1025; }
else if(CP[playerid] == 1025) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2261.139648,-59.307384,34.737949,4.0); CP[playerid] = 1026; }
else if(CP[playerid] == 1026) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2241.222167,-72.862503,34.735687,4.0); CP[playerid] = 1027; }
else if(CP[playerid] == 1027) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2178.397216,-73.821655,34.738384,4.0); CP[playerid] = 1028; }
else if(CP[playerid] == 1028) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2103.538330,-72.750183,34.738292,4.0); CP[playerid] = 1029; }
else if(CP[playerid] == 1029) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2060.662353,-72.532234,34.710895,4.0); CP[playerid] = 1030; }
else if(CP[playerid] == 1030) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2049.887695,-78.990119,34.716934,4.0); CP[playerid] = 1031; }
else if(CP[playerid] == 1031) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-2050.239990,-94.264488,34.733905,4.0); CP[playerid] = 1032; }
else if(CP[playerid] == 1032)
{
    DisablePlayerCheckpoint(playerid);
    CP[playerid] = 0;
    IgracPolaze[playerid] = 0;
    SendClientMessage(playerid,COLOR_WHITE,"Zavrsili ste polaganje");
new tmpcar = GetPlayerVehicleID(playerid);
if(tmpcar == 227)
{
SetVehiclePos(tmpcar,-2062.4296875, -109.12824249268, 35.113834381104);
SetVehicleZAngle(tmpcar,180);
}
else if(tmpcar == 228)
{
SetVehiclePos(tmpcar,-2072.0285644531, -109.44527435303, 35.110252380371);
SetVehicleZAngle(tmpcar,180);
}
else if(tmpcar == 229)
{
SetVehiclePos(tmpcar,-2081.6096191406, -109.26698303223, 35.108039855957);
SetVehicleZAngle(tmpcar,180);
}
            SetTimerEx("PortAutoskola", 1000, false, "i", playerid);
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno): http://zaslike.com/files/lowfsw8at29brcabjw68.png
Poslednja Izmena: Jul 09, 2011, 23:39:29 POSLE PODNE od Gigov.so