14.08.2012, 20:00
Lo olvide. Nos en que estoy pensando:
pawn Код:
if(!strcmp("/admins", cmdtext, true))
{
new Count = 0;
SendClientMessage(playerid, -1, "--- Administradores En Linea ---");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(AdminDuty[i] > 0)
{
new name[MAX_PLAYER_NAME], string[100];
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s [%d] - Nivel %d", name, i, AdminDuty[i]);
SendClientMessage(playerid, -1, string);
Count++;
}
}
if(Count == 0)
{
SendClientMessage(playerid, -1, "No hay administradores en linea");
}
return 1;
}