Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Ante_Street poslato Februar 10, 2011, 18:50:58 POSLE PODNE

Naslov: (Pomoc)Race
Poruka od: Ante_Street poslato Februar 10, 2011, 18:50:58 POSLE PODNE
Radio sam prema djurinom tutu za race-u..Street race----sve radi,ali nece da mi pokaze text obojan crvenom bojom

public OnPlayerEnterRaceCheckpoint(playerid)
{
    if(PlayerToPoint(5, playerid,1470.6553955078, -2486.5891113281, 13.5546875))//DESNI CP
   {
       new string[128];
      if(PlayerInfo[playerid][pUtrka] == 1)
      {
         SendClientMessage(playerid, COLOR_YELLOW, "Prosao si kroz cilj");
         DisablePlayerRaceCheckpoint(playerid);
         new sendername[MAX_PLAYER_NAME];
         GetPlayerName(playerid, sendername, sizeof(sendername));
           for(new i = 0; i < MAX_PLAYERS; i++)
           {
            if(IsPlayerConnected(i))
            {
                if(PlayerInfo[pUtrka] > 1)
               {
                       format(string, sizeof(string), "|Race | - Cilj: %s",sendername);
                  SendClientMessage(i,COLOR_BLUE , string);
               }
            }
         }
      }
   }
    else if(PlayerToPoint(5, playerid,1470.78515625, -2501.3571777344, 13.5546875))//LIJEVI CP
   {
       new string[128];
      if(PlayerInfo[playerid][pUtrka1] == 2)
      {
         SendClientMessage(playerid, COLOR_YELLOW, "Prosao si kroz cilj");
         DisablePlayerRaceCheckpoint(playerid);
         new sendername[MAX_PLAYER_NAME];
         GetPlayerName(playerid, sendername, sizeof(sendername));
           for(new i = 0; i < MAX_PLAYERS; i++)
           {
            if(IsPlayerConnected(i))
            {
                if(PlayerInfo[pUtrka1] > 2)
               {
                  format(string, sizeof(string), "|Race | - Cilj: %s",sendername);
                  SendClientMessage(i,COLOR_WHITE , string);
               }
            }
         }
      }
   }
      return 1;
   }
Naslov: Odg: (Pomoc)Race
Poruka od: [BC]Ante_Dracar aka Lopa poslato Februar 10, 2011, 20:26:37 POSLE PODNE
pa ko ce ti pokazat text crvenom bojom kad si stavio da ti pokaze plavom i bijelom.

COLOR_RED
Naslov: Odg: (Pomoc)Race
Poruka od: Ante_Street poslato Februar 10, 2011, 20:50:46 POSLE PODNE
Citat: [HG] Ante_Dracar aka Lopa poslato Februar 10, 2011, 20:26:37 POSLE PODNE
pa ko ce ti pokazat text crvenom bojom kad si stavio da ti pokaze plavom i bijelom.

COLOR_RED
Pa oznacio sam ga crvenom bojom da vidite u kojem je dijelu problem.....nije bezveze crvenom oznacen
Kada aktiviram Race i proÄ'em cilj...treba izbaciti ovo |Race | - Cilj taj i taj igrac,a meni to neizbacuje
Naslov: Odg: (Pomoc)Race
Poruka od: Nikola I poslato Februar 10, 2011, 20:52:48 POSLE PODNE
ovde gde ti pise COLOR_WHITE I COLOR_BLUE STAVI DA BUDE COLOR_RED i onda ce ti biti crveno to sto si zeleo.
Naslov: Odg: (Pomoc)Race
Poruka od: Ante_Street poslato Februar 10, 2011, 21:40:04 POSLE PODNE
Citat: Nikola I poslato Februar 10, 2011, 20:52:48 POSLE PODNE
ovde gde ti pise COLOR_WHITE I COLOR_BLUE STAVI DA BUDE COLOR_RED i onda ce ti biti crveno to sto si zeleo.

Brate mili nisam ni kreten ni debil da to neznam....
Jeli vi kontate da taj redak se nepokazuje na serveru nikako bilo ono pink,red,blue,green...........
Taj DIO se NEPOKAZUJE!!!
Naslov: Odg: (Pomoc)Race
Poruka od: Nikola I poslato Februar 10, 2011, 21:42:55 POSLE PODNE
Ok onda,nisam te lepo razumeo :S
Naslov: Odg: (Pomoc)Race
Poruka od: Ante_Street poslato Februar 10, 2011, 22:52:24 POSLE PODNE
Rjesio sam ga sam....ako neko bude imao isti problem nek mi se javi na pm

Moze LOCK na temu!!!