[POMOC]/lideri

Započeo Alezars
11. Nov. 2013. Zaključano
239
pregleda
6
postova
Alezars
4
Shot Caller
11. Nov. 2013.
Skripta koju koristim:SE
Detaljan opis problema:Zna li neko kako mogu da namestim ovu komandu/lideri da mi izbaci u cetu listu online lidera?
Dio skripte:
Quote
CMD:lideri(playerid, params[])
{
    #pragma unused params
new string;
format(string, sizeof(string), "");
foreach(Player, i)
{
if (PlayerInfo >= 1 || PlayerInfo >=16)
{
new admtext;
            new atext;
if(PlayerInfo == 1) { admtext = "{0049FF}LS PD{FFFFFF}"; }
    else if(PlayerInfo == 2) { admtext = "{0049FF}FBI{FFFFFF}"; }
else if(PlayerInfo == 4) { admtext = "{FFA1A1}Hitna Pomoc{FFFFFF}"; }
else if(PlayerInfo == 5) { admtext = "{F81414}The Russian Mafia"; }
else if(PlayerInfo == 6) { admtext = "{FFFFFF}The Escobar Cartel"; }
else if(PlayerInfo == 7) { admtext = "{FFFFFF}Predsednik Los Santos-a"; }
else if(PlayerInfo == 9) { admtext = "{00C0FF}Novinari{FFFFFF}"; }
else if(PlayerInfo == 10) { admtext = "{F3FF02}Taxi{FFFFFF}"; }
else if(PlayerInfo == 12) { admtext = "{FFAF00}Parking Servis{FFFFFF}"; }
else if(PlayerInfo == 15) { admtext = "{F3FF02}18th Street Gang{FFFFFF}"; }
else if(PlayerInfo == 16) { admtext = "{6EF83C}Balkan Snakes{FFFFFF}"; }
            format(atext, sizeof(atext), "{FFFFFF}[ID %d] ", i);
strcat(string, atext);
strcat(string, "|{F81414} ");
strcat(string, ImeIgraca(i));
strcat(string, "{FFFFFF} | ");
            format(admtext, sizeof(admtext), " {0084e3}Lider: {FFFFFF}%s |", admtext);
strcat(string, admtext);
strcat(string, "\n");
}
}
if(strlen(string) == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "{F81414}[SW:RP] {0084e3}Nijedan lider nije trenutno online!");
ShowPlayerDialog(playerid, 5674, DIALOG_STYLE_MSGBOX, "{F81414}Spisak Online Lidera", string, "Uredu", "");
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Alezars
4
Shot Caller
11. Nov. 2013.
Nisi me razumeo.Mislio sam kad kucam /lideri da mi izbaci u cetu ,a ne kao sto je ova na sred ekrana
MadDog
5
Crime Lord
11. Nov. 2013.
U dijalogu mu je 😄

A uradjeno mu je 99%

A ja stvarno izgubim volju za pomoci kada neko nece ni da se potrudi kada mi dodje i kaze daj mi ovo uradi ja samo odem sa teme.
Alezars
4
Shot Caller
11. Nov. 2013.
Ne moras mi pomoci,ja sam samo pitao jel zna neko jer sam ja pokusavao i nije mi islo
Alezars
4
Shot Caller
11. Nov. 2013.
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(18331) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(18335) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(18336) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(18337) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(1833😎 : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\Desktop\gamemodes\south-europe.pwn(18339) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\gamemodes\south-europe.pwn(18340) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\gamemodes\south-europe.pwn(18341) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\gamemodes\south-europe.pwn(18342) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\gamemodes\south-europe.pwn(18343) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\gamemodes\south-europe.pwn(18344) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Alezars\\Desktop\\gamemodes\south-europe.pwn(18345) : error 032: array index out of bounds (variable "PlayerInfo")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

12 Errors.
Linije
    if (PlayerInfo >= 1 || PlayerInfo >=16)
        if(PlayerInfo == 1) { admtext = "{0049FF}LS PD{FFFFFF}"; }
          else if(PlayerInfo == 2) { admtext = "{0049FF}FBI{FFFFFF}"; }
        else if(PlayerInfo == 4) { admtext = "{FFA1A1}Hitna Pomoc{FFFFFF}"; }
        else if(PlayerInfo == 5) { admtext = "{F81414}The Russian Mafia"; }
        else if(PlayerInfo == 6) { admtext = "{FFFFFF}The Escobar Cartel"; }
        else if(PlayerInfo == 7) { admtext = "{FFFFFF}Predsednik Los Santos-a"; }
        else if(PlayerInfo == 9) { admtext = "{00C0FF}Novinari{FFFFFF}"; }
        else if(PlayerInfo == 10) { admtext = "{F3FF02}Taxi{FFFFFF}"; }
        else if(PlayerInfo == 12) { admtext = "{FFAF00}Parking Servis{FFFFFF}"; }
        else if(PlayerInfo == 15) { admtext = "{F3FF02}18th Street Gang{FFFFFF}"; }
        else if(PlayerInfo == 16) { admtext = "{6EF83C}Balkan Snakes{FFFFFF}"; }
Alezars
4
Shot Caller
11. Nov. 2013.
Hvala  🙂 Moze lock

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha