[Savjet] Pitanje oko lidera

Započeo NeÓ§, Februar 17, 2012, 18:58:40 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:FG
Detaljan opis problema:Dodao sam novu org pod 17 ali kad udjem u igru nevidi se u liderima 
Dio skripte: if (strcmp(cmd, "/lideri", true) == 0)
{
        if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_RED, " ");
        SendClientMessage(playerid, COLOR_RED, "-|***Infernal Game Online Lideri***|-");
foreach (Player, i)
{
if(PlayerInfo[i][pLeader] >= 1 && PlayerInfo[i][pLeader] < 17)
    {
    new admtext[64];
        if(PlayerInfo[i][pLeader] == 1) { admtext = "{006ADB}Los Santos{FFFFFF} Police Department (( LSPD ))"; }
        else if(PlayerInfo[i][pLeader] == 2) { admtext = "Federalni Biro Istrazni (( FBI ))"; }
    else if(PlayerInfo[i][pLeader] == 3) { admtext = "Nacionalna Garda (( NG ))"; }
    else if(PlayerInfo[i][pLeader] == 4) { admtext = "Hitna Pomoc (( HP ))"; }
    else if(PlayerInfo[i][pLeader] == 5) { admtext = "Yakuza (( Y ))"; }
else if(PlayerInfo[i][pLeader] == 6) { admtext = "La Cosa Nostra(( LCN ))"; }
else if(PlayerInfo[i][pLeader] == 7) { admtext = "Gradonacelnik(( G ))"; }
else if(PlayerInfo[i][pLeader] == 8) { admtext = "Hitman Agencija(( HA ))"; }
else if(PlayerInfo[i][pLeader] == 9) { admtext = "Radio Televizija Balkana(( RTB ))"; }
else if(PlayerInfo[i][pLeader] == 10) { admtext = "Taxi Agencija (( TA ))"; }
else if(PlayerInfo[i][pLeader] == 11) { admtext = "Parking Servis(( PS ))"; }
else if(PlayerInfo[i][pLeader] == 12) { admtext = "The Escobar Cartel(( TEC ))"; }
else if(PlayerInfo[i][pLeader] == 13) { admtext = "The Ballas Family(( TBF ))"; }
else if(PlayerInfo[i][pLeader] == 14) { admtext = "Grove Street Family(( GSF ))"; }
else if(PlayerInfo[i][pLeader] == 15) { admtext = "Mara Salvatrucha 13(( MS-13 ))"; }
else if(PlayerInfo[i][pLeader] == 16) { admtext = "Al Qaida(( AQ ))"; }
else if(PlayerInfo[i][pLeader] == 17) { admtext = "Special Weapon And Tactical(( SWAT ))"; }
else { admtext = "------------"; }
GetPlayerName(i, sendername, sizeof(sendername));
if(AdminDuty[i] == 0)
{
format(string, 256, "%s  |Lider:%s| Br:%d", admtext, sendername, PlayerInfo[playerid][pPnumber]);
SendClientMessage(playerid, COLOR_WHITE, string);
}
else
{
    format(string, 256, "%s |Lider:%s| Br:%d", admtext, sendername, PlayerInfo[playerid][pPnumber]);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
}
}
return 1;
}

else if(PlayerInfo[i][pLeader] == 17) { admtext = "Special Weapon And Tactical(( SWAT ))"; }
Neke slike/video za lakse dobivanje pomoci(neobavezno):http://ch-slike.com/images/cR7h1.png
http://ch-slike.com/images/fMzG.png
http://ch-slike.com/images/qbeA.png
Poslednja Izmena: Februar 17, 2012, 19:13:45 POSLE PODNE od [DMZ] Zeratul

Citat: [DMZ] Zeratul poslato Februar 17, 2012, 18:58:40 POSLE PODNE
Skripta koju koristim:FG
Detaljan opis problema:Dodao sam novu org pod 17 ali kad udjem u igru nevidi se u liderima 
Dio skripte: if (strcmp(cmd, "/lideri", true) == 0)
{
        if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_RED, " ");
        SendClientMessage(playerid, COLOR_RED, "-|***Infernal Game Online Lideri***|-");
foreach (Player, i)
{
if(PlayerInfo[i][pLeader] >= 1 && PlayerInfo[i][pLeader] < 18)
    {
    new admtext[64];
        if(PlayerInfo[i][pLeader] == 1) { admtext = "{006ADB}Los Santos{FFFFFF} Police Department (( LSPD ))"; }
        else if(PlayerInfo[i][pLeader] == 2) { admtext = "Federalni Biro Istrazni (( FBI ))"; }
    else if(PlayerInfo[i][pLeader] == 3) { admtext = "Nacionalna Garda (( NG ))"; }
    else if(PlayerInfo[i][pLeader] == 4) { admtext = "Hitna Pomoc (( HP ))"; }
    else if(PlayerInfo[i][pLeader] == 5) { admtext = "Yakuza (( Y ))"; }
else if(PlayerInfo[i][pLeader] == 6) { admtext = "La Cosa Nostra(( LCN ))"; }
else if(PlayerInfo[i][pLeader] == 7) { admtext = "Gradonacelnik(( G ))"; }
else if(PlayerInfo[i][pLeader] == 8) { admtext = "Hitman Agencija(( HA ))"; }
else if(PlayerInfo[i][pLeader] == 9) { admtext = "Radio Televizija Balkana(( RTB ))"; }
else if(PlayerInfo[i][pLeader] == 10) { admtext = "Taxi Agencija (( TA ))"; }
else if(PlayerInfo[i][pLeader] == 11) { admtext = "Parking Servis(( PS ))"; }
else if(PlayerInfo[i][pLeader] == 12) { admtext = "The Escobar Cartel(( TEC ))"; }
else if(PlayerInfo[i][pLeader] == 13) { admtext = "The Ballas Family(( TBF ))"; }
else if(PlayerInfo[i][pLeader] == 14) { admtext = "Grove Street Family(( GSF ))"; }
else if(PlayerInfo[i][pLeader] == 15) { admtext = "Mara Salvatrucha 13(( MS-13 ))"; }
else if(PlayerInfo[i][pLeader] == 16) { admtext = "Al Qaida(( AQ ))"; }
else if(PlayerInfo[i][pLeader] == 17) { admtext = "Special Weapon And Tactical(( SWAT ))"; }
else { admtext = "------------"; }
GetPlayerName(i, sendername, sizeof(sendername));
if(AdminDuty[i] == 0)
{
format(string, 256, "%s  |Lider:%s| Br:%d", admtext, sendername, PlayerInfo[playerid][pPnumber]);
SendClientMessage(playerid, COLOR_WHITE, string);
}
else
{
    format(string, 256, "%s |Lider:%s| Br:%d", admtext, sendername, PlayerInfo[playerid][pPnumber]);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
}
}
return 1;
}

else if(PlayerInfo[i][pLeader] == 17) { admtext = "Special Weapon And Tactical(( SWAT ))"; }
Neke slike/video za lakse dobivanje pomoci(neobavezno):http://ch-slike.com/images/cR7h1.png
http://ch-slike.com/images/fMzG.png
http://ch-slike.com/images/qbeA.png

Ovako ce raditi ;)

CitatOvako ce raditi

Hvala  :D skontao sam problem  :D Moze Lock
Poslednja Izmena: Februar 17, 2012, 19:05:46 POSLE PODNE od [DMZ] Zeratul