[Pomoc] Hitno!!!

Započeo Petar Pan, April 27, 2011, 12:20:22 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Skripta koju koristim:mojgm
Detaljan opis problema:kako da umjesto komande  familieas napravim komandu lideri
Dio skripte:mojgm
Neke slike/video za lakse dobivanje pomoci(neobavezno):

POMOCCCCCCC
Poslednja Izmena: April 27, 2011, 12:23:29 POSLE PODNE od Petar Pan

Dio skripte:mojgm ???
Daj nam komandu familieas.

kako da ti danem kad neznam gjde se nalazi a lidere napravim komanu i bude 26 errora trebam families obrisati i gm nije moj nego od geforece tako se zove gma moj gm

Na kojem jeziku ti pricas...? Koliko sam te razumeo ti hoces komandu /families da zamenis sa /lideri...Malo bolje objasni sta ti treba,ako mislis na ovo onda samo families zameni sa lideri i eto...

Ocu umjesto KOMANDE FAMILIES DA STAVIM KOMANDU LIDERI ALI NEZNAM GDJE SE NALAZI KOMANDA FAMILIES DA JE OBRISE I DA STAVIM KOMANDU LIDER OVO SAM NAPRAVIO SAMO NEZ GDJE TO DA STAVIM

if (strcmp(cmd, "/lideri", true) == 0)
{
        if(IsPlayerConnected(playerid))
    {
SendClientMessage(playerid, 0xD7E802FF, "|______________ Lideri online ______________|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerName(i, sendername, sizeof(sendername));
                    if(PlayerInfo[i][pLeader] == 1)
                    {
   format(string, 256, "Policija: %s", sendername);
   SendClientMessage(playerid, 0x0000FFFF, string);
}
if(PlayerInfo[i][pLeader] == 2)
                    {
   format(string, 256, "FBI: %s", sendername);
   SendClientMessage(playerid, 0x0000FFFF, string);
}
if(PlayerInfo[i][pLeader] == 3)
                    {
   format(string, 256, "S.W.A.T: %s", sendername);
   SendClientMessage(playerid, 0x0000FFFF, string);
            }
    if(PlayerInfo[i][pLeader] == 4)
                    {
   format(string, 256, "Urban Crew: %s", sendername);
   SendClientMessage(playerid, 0xFF9B9BFF, string);
}
if(PlayerInfo[i][pLeader] == 5)
                    {
   format(string, 256, "Corleone Family: %s", sendername);
   SendClientMessage(playerid, COLOR_ORANGE, string);

}
if(PlayerInfo[i][pLeader] == 6)
                    {
   format(string, 256, "Gradonacelnik: %s", sendername);
   SendClientMessage(playerid, 0x9ACD32FF, string);

}
if(PlayerInfo[i][pLeader] == 7)
                    {
   format(string, 256, "Hitmen: %s", sendername);
   SendClientMessage(playerid, 0x8E2323FF, string);

}
if(PlayerInfo[i][pLeader] == 8)
                    {
   format(string, 256, "ABC Vijesti: %s", sendername);
   SendClientMessage(playerid, 0xEFC6FFFF, string);

}
if(PlayerInfo[i][pLeader] == 9)
                    {
   format(string, 256, "Taxi: %s", sendername);
   SendClientMessage(playerid, 0xFFFF00FF, string);

}
if(PlayerInfo[i][pLeader] == 10)
                    {
   format(string, 256, "AutoSkola: %s", sendername);
   SendClientMessage(playerid, 0x00F5FFFF, string);

}
if(PlayerInfo[i][pLeader] == 11)
                    {
   format(string, 256, "Yakuze: %s", sendername);
   SendClientMessage(playerid, 0xFFD700FF, string);

}
if(PlayerInfo[i][pLeader] == 12)
                    {
   format(string, 256, "Ballas: %s", sendername);
   SendClientMessage(playerid, 0xBFEFFFFF, string);
}
if(PlayerInfo[i][pLeader] == 13)
                    {
   format(string, 256, "Ur: %s", sendername);
   SendClientMessage(playerid, 0xBFEFFFFF, string);
}
if(PlayerInfo[i][pLeader] == 14)
                    {
   format(string, 256, "Grove: %s", sendername);
   SendClientMessage(playerid, 0xFFD700FF, string);
}
}
}
}
return 1;

ako imas 26 errora znaci da ti negdje fali ova zagrada { ili } a u ovom slucaju tebi fali skroz ispod return 1; ova } zagrada
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √


1.
Citat: Petar Pan poslato April 27, 2011, 12:24:25 POSLE PODNE
kako da ti danem kad neznam gjde se nalazi a lidere napravim komanu i bude 26 errora trebam families obrisati i gm nije moj nego od geforece tako se zove gma moj gm


2.
Citat: Petar Pan poslato April 27, 2011, 12:28:30 POSLE PODNE
Ocu umjesto KOMANDE FAMILIES DA STAVIM KOMANDU LIDERI ALI NEZNAM GDJE SE NALAZI KOMANDA FAMILIES DA JE OBRISE I DA STAVIM KOMANDU LIDER OVO SAM NAPRAVIO SAMO NEZ GDJE TO DA STAVIM

if (strcmp(cmd, "/lideri", true) == 0)
{
       if(IsPlayerConnected(playerid))
   {
SendClientMessage(playerid, 0xD7E802FF, "|______________ Lideri online ______________|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerName(i, sendername, sizeof(sendername));
                   if(PlayerInfo[i][pLeader] == 1)
                   {
  format(string, 256, "Policija: %s", sendername);
  SendClientMessage(playerid, 0x0000FFFF, string);
}
if(PlayerInfo[i][pLeader] == 2)
                   {
  format(string, 256, "FBI: %s", sendername);
  SendClientMessage(playerid, 0x0000FFFF, string);
}
if(PlayerInfo[i][pLeader] == 3)
                   {
  format(string, 256, "S.W.A.T: %s", sendername);
  SendClientMessage(playerid, 0x0000FFFF, string);
           }
   if(PlayerInfo[i][pLeader] == 4)
                   {
  format(string, 256, "Urban Crew: %s", sendername);
  SendClientMessage(playerid, 0xFF9B9BFF, string);
}
if(PlayerInfo[i][pLeader] == 5)
                   {
  format(string, 256, "Corleone Family: %s", sendername);
  SendClientMessage(playerid, COLOR_ORANGE, string);

}
if(PlayerInfo[i][pLeader] == 6)
                   {
  format(string, 256, "Gradonacelnik: %s", sendername);
  SendClientMessage(playerid, 0x9ACD32FF, string);

}
if(PlayerInfo[i][pLeader] == 7)
                   {
  format(string, 256, "Hitmen: %s", sendername);
  SendClientMessage(playerid, 0x8E2323FF, string);

}
if(PlayerInfo[i][pLeader] == 8)
                   {
  format(string, 256, "ABC Vijesti: %s", sendername);
  SendClientMessage(playerid, 0xEFC6FFFF, string);

}
if(PlayerInfo[i][pLeader] == 9)
                   {
  format(string, 256, "Taxi: %s", sendername);
  SendClientMessage(playerid, 0xFFFF00FF, string);

}
if(PlayerInfo[i][pLeader] == 10)
                   {
  format(string, 256, "AutoSkola: %s", sendername);
  SendClientMessage(playerid, 0x00F5FFFF, string);

}
if(PlayerInfo[i][pLeader] == 11)
                   {
  format(string, 256, "Yakuze: %s", sendername);
  SendClientMessage(playerid, 0xFFD700FF, string);

}
if(PlayerInfo[i][pLeader] == 12)
                   {
  format(string, 256, "Ballas: %s", sendername);
  SendClientMessage(playerid, 0xBFEFFFFF, string);
}
if(PlayerInfo[i][pLeader] == 13)
                   {
  format(string, 256, "Ur: %s", sendername);
  SendClientMessage(playerid, 0xBFEFFFFF, string);
}
if(PlayerInfo[i][pLeader] == 14)
                   {
  format(string, 256, "Grove: %s", sendername);
  SendClientMessage(playerid, 0xFFD700FF, string);
}
}
}
}
return 1;



2.Odakle tebi mod od GeForce, da nije mozda GodFather?
1.Nemoj pisati CAPS-om



PS. Odgovor neces dobiti zbog bahatosti,sledeci put razmisli malo...
Loock!
Poslednja Izmena: April 27, 2011, 12:36:20 POSLE PODNE od eXtreme