CMD:admins(playerid, params[]) {
new pName,string2;
SendClientMessage(playerid, 0xFFFFFFFF," ");
SendClientMessage(playerid, 0xFFFFFFFF," ");
SendClientMessage(playerid, 0xFFFFFFFF,""SERVERCOLOR"Online "WHITE"Admins:");
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(PlayerInfo > 0) {
GetPlayerName(i, pName, MAX_PLAYERS);
format(string2, sizeof(string2), ""SERVERCOLOR"%s: "WHITE"%s "SERVERCOLOR"[%d] "GREY"- %s",adminLevels[PlayerInfo-1],pName,i,PlayerInfo ? (""SERVERCOLOR"On "GREY"Duty") : (""RED"Off "WHITE"Duty"));
if(PlayerInfo == 0) {
SendClientMessage(playerid, 0xFFFFFFFF, string2);
}
else {
SendClientMessage(playerid, 0xFF0005FF, string2);
}
}
}
}
return 1;
} i ta komanda kada ju upisem sve normalno radi ali je u formatu poruke, ja ne znam kako da napravim istu tu komandu da mi se sve isto prikazuje, ali samo u dialogu a ne u poruciPomoc
292
pregleda
1
postova
28. Okt. 2021.
Imam komandu /admins
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava