kako dodati kordinate

Započeo Lumpri77, April 20, 2010, 22:04:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

ako mi neko može objasnit kako dodat više kordinata na jednu komandu evo kordinate:
Citat1400.468628, -1182.949219, 187.327133
1038.945068, -289.074249, 74.074600
-1474.688599, 340.829407, 7.259536
-2162.207275, -254.597031, 36.587662
evo i komanda:
Citat//---------------------------------[energetski_napitak]------------------------------------------

   if(strcmp(cmdtext, "/napitak", true) == 0)
   {
      if(PlayerToPoint(3.0, playerid, 1830.693970, -1115.876587, 23.900166))
      {
      GivePlayerMoney(playerid, -20);
      SetPlayerHealth(playerid, 100);
        GetPlayerName(playerid, sendername, sizeof(sendername));
       format(string, sizeof(string), "* %s uzima energetski napitak iz aparata i pije ga.", sendername);
       ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
      }
   return 1;
}

hvala unaprjed

samo stavi zarez i sljedece koordinatd...

//---------------------------------[energetski_napitak]------------------------------------------

   if(strcmp(cmdtext, "/napitak", true) == 0)
   {
      if(PlayerToPoint(3.0, playerid, 1830.693970, -1115.876587, 23.900166) || PlayerToPoint(3.0, playerid, 1400.468628, -1182.949219, 187.327133)
  || PlayerToPoint(3.0, playerid, 1038.945068, -289.074249, 74.074600) || PlayerToPoint(3.0, playerid, -1474.688599, 340.829407, 7.259536) || PlayerToPoint(3.0, playerid, -2162.207275, -254.597031, 36.587662))
       {
      GivePlayerMoney(playerid, -20);
      SetPlayerHealth(playerid, 100);
        GetPlayerName(playerid, sendername, sizeof(sendername));
       format(string, sizeof(string), "* %s uzima energetski napitak iz aparata i pije ga.", sendername);
       ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
      }
   return 1;
}


probaj...
Vikend je policija nas hvata,
vikend je ode cijela plata,
oko nas stvari ukradene,
sve smo dali na planove i sheme..
||||:=:=:=:=:=:=::=:=:=:=:=:=:=:THE IVEX:=:=:=:=:=:=:=:=:=::=:=:=:=:=:=::=:|||| 


PS: Ne saljite mi nikakve pm jer neodgovaram na njih! Ako trebate nes pitajte ove pr0 skriptere pa neka vam kazu!Hvala !

hvala ljudi radi samo ako bi moga pojasnit zašto ide ovo

Citatif(PlayerToPoint(3.0, playerid, 1830.693970, -1115.876587, 23.900166) || PlayerToPoint(3.0, playerid, 1400.468628, -1182.949219, 187.327133)
     || PlayerToPoint(3.0, playerid, 1038.945068, -289.074249, 74.074600) || PlayerToPoint(3.0, playerid, -1474.688599, 340.829407, 7.259536) || PlayerToPoint(3.0, playerid, -2162.207275, -254.597031, 36.587662))

jel može samo u nastavak tj u isti red ???
Poslednja Izmena: April 20, 2010, 22:58:07 POSLE PODNE od lumpri

Moze i nemora... a ja sam stavio u jedan red samo ovaj code na forumu je prebacio u dva reda xDDD
Vikend je policija nas hvata,
vikend je ode cijela plata,
oko nas stvari ukradene,
sve smo dali na planove i sheme..
||||:=:=:=:=:=:=::=:=:=:=:=:=:=:THE IVEX:=:=:=:=:=:=:=:=:=::=:=:=:=:=:=::=:|||| 


PS: Ne saljite mi nikakve pm jer neodgovaram na njih! Ako trebate nes pitajte ove pr0 skriptere pa neka vam kazu!Hvala !