new pnum, pID, players[32];
get_players(players, pnum, "c");
for (new i=0; i<pnum; i++) {
pID=players[i]; // This is player ID
//All messaging goes here. exaple.
client_print(pID, print_center, "This is a message");
}
Am I right?
All of them uses loop, better to use get_maxplayers(), it's returns gpGlobals->maxClients