pomozite molim vas

Započeo Ante_Dracar aka Lopa, Jun 29, 2010, 17:18:10 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

ovako trebam malu pomoc...
napravio sam posao GRADJEVINAR...prvo se zaposlim i znaci to radi...ali kada upisem komandu /gradi pojavi mi se prvi kroug kroz koji moram proci ali kada prodjem kroz njega nece da ga makne i da ide na iduci...pa ako moze pomoc...

SLIKA===http://www.zaslike.com/viewer.php?file=w6hpft8oeteggdghqot6.png


EVO KOMANDA ZA ZAPOSLIT RADI 100%
if(strcmp(cmd, "/gradjevinar", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerToPoint(5.0,playerid,-2073.5686,268.2052,35.3813))
       {
           if(PlayerInfo[playerid][pJob] == 0)
           {
               PlayerInfo[playerid][pJob] = 23;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima posao gradjevinara.", sendername);
SendClientMessage(playerid, COLOR_GREY, "Ako zelite graditi upisite /gradi");
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
           }
           else
           {
               SendClientMessage(playerid, COLOR_GREY, "   Imate posao !");
               return 1;
           }
       }
       else
       {
           SendClientMessage(playerid, COLOR_GREY, "   Nisi na mjestu za posao !");
           return 1;
       }
   }
   return 1;
}


EVO KOMANDA ZA GRADIT NE RADI TAJ CRVENI KRUG...
if(strcmp(cmd, "/gradi", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pJob] == 23)
       {
           SendClientMessage(playerid, COLOR_GREY, "   na poziciji za uzest opremu kako bi mogli poceti graditi !");
   
if(PlayerToPoint(15.0,playerid,-2079.7004,260.7307,35.2572))
{
SetPlayerCheckpoint(giveplayerid, -2097.9990,182.1046,35.1184,5.0);
CP[giveplayerid] = 900;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Nisi na poziciji za uzest opremu kako bi mogli poceti graditi !");
    return 1;
}
}
}
  return 1;
}



EVO TI KRUGOVI...NAPOMENA OVAJ KRUG STO SE NALAZU U OVOME POVISE KVADRATICU...
SetPlayerCheckpoint(giveplayerid, -2097.9990,182.1046,35.1184,5.0);
CP[giveplayerid] = 900;


ZNACI TAJ KORDINAT NEMAM DOLI DISU OSTALI KRUGOVI...


else if(CP[playerid] == 900) { CP[playerid] = 901; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2097.7751,155.8687,35.1218,10.0); }
   else if(CP[playerid] == 901) { CP[playerid] = 902; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2081.2036,181.7803,35.1112,10.0); }
   else if(CP[playerid] == 902) { CP[playerid] = 903; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2068.1763,201.2154,35.5955,10.0); }
   else if(CP[playerid] == 903) { CP[playerid] = 904; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2051.3174,224.6756,35.6276,10.0); }
   else if(CP[playerid] == 904) { CP[playerid] = 905; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2050.6860,252.0351,35.3826,10.0); }
   else if(CP[playerid] == 905) { CP[playerid] = 906; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2057.1824,272.7188,35.3485,10.0); }
   else if(CP[playerid] == 906) { CP[playerid] = 907; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2074.0659,278.7420,35.3403,10.0); }
   else if(CP[playerid] == 907) { CP[playerid] = 908; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2094.8401,275.2155,35.1811,10.0); }
   else if(CP[playerid] == 908) { CP[playerid] = 909; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2125.5425,294.4122,34.8399,10.0); }
else if(CP[playerid] == 909) { CP[playerid] = 910; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2103.4158,282.5852,35.1632,10.0); }
else if(CP[playerid] == 910) { CP[playerid] = 911; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2085.4800,283.4416,35.4646,10.0); }
else if(CP[playerid] == 911) { CP[playerid] = 912; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2054.0432,265.6967,35.7499,10.0); }
else if(CP[playerid] == 912) { CP[playerid] = 913; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2050.2249,238.6608,35.6857,10.0); }
else if(CP[playerid] == 913) { CP[playerid] = 914; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2059.1221,215.4383,35.5842,10.0); }
else if(CP[playerid] == 914) { CP[playerid] = 915; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2078.9775,214.1233,35.3772,10.0); }
   else if(CP[playerid] == 915) { CP[playerid] = 916; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2086.0662,229.6242,35.6191,10.0); }
   else if(CP[playerid] == 916) { CP[playerid] = 917; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2090.4343,249.6210,35.9832,10.0); }
   else if(CP[playerid] == 917) { CP[playerid] = 918; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2088.8979,270.5758,35.3381,10.0); }
   else if(CP[playerid] == 918)
{
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED, "Vi ste upravo zavrsili ciscenje i zaradili dzeparac. ");
GivePlayerMoney(playerid, 1200);
}























znaci da ne duljim zanima me zasto mi se ovi crveni krugovi ne micu...

http://www.zaslike.com/viewer.php?file=w6hpft8oeteggdghqot6.png

Ne micu? Trebali bi se micat??? Daj pojasni.  :-[
Respekt: [H]265, John, [03]Garsino, LordShigi, Dujma, Carlsson, Randy, Jacobs, Hu5o, Toni, Lukas, Curtis, Ivo, Hawks, Jack, Koksildo, gonss

Haha OMG => http://zaslike.com/files/9rd5urq94yqagvdsx3i.png [ovo nema nigdje]

Off Topic: Promjeni naslov teme i pročitaj pravila podforuma