pawn Code:
CMD:helpers(playerid, params[])
{
new count = 0, str[40], name[MAX_PLAYER_NAME+1];
SendClientMessage(playerid, -1, "Helpers ONLINE:");
for(new i; i<MAX_PLAYERS; i++)
{
if(playerHelper[i] == true)
{
GetPlayerName(i, name, sizeof name);
format(str, sizeof str, "Helper %s", name);
SendClientMessage(playerid, -1, str);
count ++;
}
}
if(count == 0) SendClientMessage(playerid, -1, "There are no helpers ONLINE at the moment.");
return 1;
}