04.12.2012, 22:24
(
Последний раз редактировалось Gleisson_.; 05.12.2012 в 00:41.
)
PHP код:
CMD:admins(playerid)
{
new gString2[500], Nomeado[50];
for(new i = 0; i < MAX_PLAYERS; i++)
{
GetPlayerName(i, gAdminName, sizeof(gAdminName));
if(Informacoes[i][PlayerAdmin] >= 1)
{
if(Informacoes[i][PlayerAdmin] == 1) Nomeado = "Helper";
if(Informacoes[i][PlayerAdmin] == 2) Nomeado = "Moderador";
if(Informacoes[i][PlayerAdmin] == 3) Nomeado = "Administrador";
if(Informacoes[i][PlayerAdmin] == 4) Nomeado = "Administrador Geral";
if(Informacoes[i][PlayerAdmin] == 5) Nomeado = "Sub-Dono";
if(Informacoes[i][PlayerAdmin] == 6) Nomeado = "Dono";
format(gString, sizeof(gString), "{FF0000}Administrador:{FFFFFF} %s{FF0000} - Level{FFFFFF} %d{FF0000} - Hierarquia:{FFFFFF} %s\n", gAdminName, Informacoes[i][PlayerAdmin], Nomeado);
strcat(gString2, gString, sizeof(gString2));
}
}
if(Informacoes[playerid][PlayerAdmin] < 1)
{
format(gString, sizeof(gString), "Administraзгo Offline no Momento!");
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Administraзгo Online", gString, "Fechar", "");
}
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Administraзгo Online", gString2, "Fechar", "");
return 1;
}
Utilizo o sistema: Funeral's Admin System. Acho que o nome й assim ¬¬.
E eles podem usar os comandos de adm..
Foto do problema
http://imageshack.us/photo/my-images/600/samp104fw.png/