30.05.2015, 18:49
Se pesquisasse no ****** acharia
Esse cуdigo estб disponivel no site fusion samp, crйditos do codigo ao criador Famous_FusioN.
Esse cуdigo estб disponivel no site fusion samp, crйditos do codigo ao criador Famous_FusioN.
PHP код:
if(!strcmp(cmdtext, "/infoadmins", true))
{
new Count;
new const Ranks[][] =
{
"Moderador",
"Adm",
"Adm Chefe",
"Adm Master",
"Dono/Fundador"
};
new STR[1400];
for(new x = 0, y = GetMaxPlayers(); x != y; x++)
{
if(!IsPlayerConnected(x)) continue;
if(admin[x])
{
new NickName[25];
GetPlayerName(x, NickName, 25);
if(VariavelAdmin[x] >= 1 && VariavelAdmin[x] <= 5)
{
format(STR, 1400, "%s %s (%d) [ %s ]\n", STR, NickName, x, Ranks[pAdmin[x] - 1]);
}
Count++;
}
}
Count || strcat(STR, "Nenhum administrador online.");
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX, ".:: - Administradores Online - ::.", STR, "Fechar", "");
return 1;
}