11.07.2015, 18:34
Quote:
Tenta ae
pawn Код:
|
PHP код:
CMD:admins(playerid){
if(!HaveAdminsOnline())
return SendClientMessage(playerid,Azul,"Nгo hб admins online!");
static
nome[24],
str[128]
;
str[0] = '\0';
for(new i, e = GetPlayerPoolSize(); i ^ e; ++i)
{
if(Player[i][admin] > 0)
{
switch(Player[i][admin])
{
case 1: adm = "Novato";
case 2: adm = "Intermediario";
case 3: adm = "Veterano";
case 11: adm = "Dono";
case 10: adm = "Master";
}
GetPlayerName(i, nome, 24);
strcat(str, nome);
}
}
ShowPlayerDialog(playerid, 657, DIALOG_STYLE_LIST, "Administradores", str, "Okay", "");
}