04.02.2013, 02:03
PHP код:
CMD:admins(playerid,params[])
{
foreach(new i:Player)
{
if(IsPlayerConnected(i) && PlayerInfo[i][data_Admin] > 0)
{
format(Indexed,sizeof(Indexed),"%s\n"GL"%s[%d] "LA"Administrador Nivel: %d ",Indexed,Nombre(i),i,PlayerInfo[i][data_Admin]);
ShowPlayerDialog(playerid, 1003, DIALOG_STYLE_MSGBOX, ""AD"GTAE: Administradores OnLine",Indexed,"Aceptar","");
}
}
return 1;
}
mas ao fazк-lo passar:
Cesar_******[0] admin level: 5
X[1] admin level: 2
Cesar_******[0] admin level: 5
porque e soluзгo.