25.09.2013, 05:18
(
Last edited by JamesH; 25/09/2013 at 06:50 AM.
)
pawn Code:
CMD:admins(playerid)
{
SendClientMessage(playerid, color, "List of online admins.");
for(new i=0;i<MAX_PLAYERS;i++)
{
if(pInfo[i][pAdminlevel] => 1)
{
{
new temp[99];
format(temp, sizeof(temp),"ID : %s | Admin Level : %s",i, pInfo[i][pAdminLevel]);
SendClientMessage(playerid, color, temp);
}
}
}
return 1;
}
And once again make sure if the variable in yourscript file is not 0.