27.01.2013, 02:24
pawn Code:
if(strcmp(cmdtext, "/inativos", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1340) return SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo estб autorizado a usar este comando");
for(new i = 0; i < 24; i++)
{
new string2[80], val[100], msg[100];
format(string2, sizeof(string2), "Contas/%s.ini", InfoOrg[i][Lider]);
new File: UserFile = fopen(string2, io_read);
format(msg, sizeof(msg), "Ъltimo login de %s, foi: %s", InfoOrg[i][Lider], val);
SendClientMessage(playerid, COLOR_YELLOW, msg);
fclose(UserFile);
}
return 1;
}