20.02.2018, 12:08
I have this stock
That shows who is online from admins:
How I can say that if there is no one admins send a message with there is no admins?
That shows who is online from admins:
PHP код:
stock ShowAdminsFor(playerid)
{
for(new i=0, j=GetPlayerPoolSize(); i<=j;i++)
{
if(PInfo[i][Adminlevel] > 1)
{
new str[180];
format(str, 180, "%s[%d]", GetPlayerNameEx(i), PInfo[i][Adminlevel]);
SendClientMessage(playerid, COLOR_YELLOW, str);
}
}
}