[POMOC]Kamijondzija

Započeo Retardinjo, April 07, 2011, 18:12:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozz svima  :)
Skripta koju koristim:Cyber
Detaljan opis problema:Ovako ima jedan problem sa poslom kamijondzija,naime kad dodjem do mjesta di se uzima posao ja upisem /posao ali system kaze da nisam blizu mjesta za posao. i sad sam ja iso vidit kordinate al su dobre  :o .
Dio skripte: ima puno toga za c/p
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://www.zaslike.com/viewer.php?file=1uf47suiv427cjiglj9.png
pomozite pls

SMOD:DODAN PREFIX
Poslednja Izmena: April 07, 2011, 19:08:13 POSLE PODNE od yamaha


evo:
if(strcmp(cmd, "/posao", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            if(PlayerInfo[playerid][pJob] == 0)
{

       if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1278.9453,-1224.0542,13.6797))
{
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Gradjevinar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Gradjevinar"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 1;
}
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,366.6119,159.0560,1008.3828))
{
    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Advokat"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Advokat"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 2;
}
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2417.1777,-1221.5059,25.1827))
{
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Prostitutka"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Prostitutka "#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 3;
}
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1301.1484,-1244.9697,13.5469))
{
    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Diler Droge"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Diler Droge"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 4;
}
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1958.1123,-1148.0717,21.5951))
{
    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Kosac trave"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Kosac trave"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 5;
}
                else if (GetPlayerState(playerid) == 1 && PlayerToPoint(2.0, playerid,1003.6078,-1085.7617,23.8281))
    {
        SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Mehanicar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Mehanicar"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 7;
  }
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,756.6003,5.9379,1000.6996))
{
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati {00CC66}Bodyguard i prihvatiti ugovor od 5 sati?");
    SendClientMessage(playerid, ZELENA, "* Prvo moras ispuniti ugovor ako kasnije želiÅ¡ napustiti posao.");
    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati {00CC66}Bodyguard upiÅ¡i /potvrdi.");
    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 8;
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1423.2181,-1298.4423,13.5547))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Diler Oruzija"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Diler Oruzija"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 9;
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-382.7780,-1439.1926,26.2960))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Poljoprivrednik"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Poljoprivrednik"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 11;
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,996.4232,-1297.0530,13.5469))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Bokser"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Bokser"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 12;
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1523.1710,-1501.9967,13.5547))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Djubretar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Djubretar"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 13;
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1154.0286,-1770.5752,16.5938))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Vozac busa"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Vozac busa"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 14;//Vozac busa
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1396.9561,-1571.1112,14.2702))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Postar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Postar"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 6;//Postar
  }
  else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1874.7773,-1805.1293,13.5796))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Kamiondzija"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Kamiondzija"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 16;//Kamiondzija
}
                else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1630.0435,-1903.2373,13.5530))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Cistac ulica"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Cistac ulica"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 17;//Cistac ulica
  }
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2183.1738,-2253.3293,14.7724))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Prodavac sladoleda"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Prodavac sladoleda"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 18;
}
else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2183.1738,-2253.3293,14.7724))
  {
      SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Prodavac PiZza"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Prodavac PiZza"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 19;//PiZza Boy
}
else
  {
      SendClientMessage(playerid, SIVA, "[Greska]: Nisi blizu mesta za zaposljavanje.");
  }
}
else
{
    SendClientMessage(playerid, SIVA, "[Greska]: Vec imas posao.");
}
}
    return 1;
}