I usually do it the 'manual' way. That way, you could include some additonal functionality.
PHP Code:
new Handle:hMenu = CreateMenu(Manager);
SetMenuTitle(hMenu, "Wierdos on this Server:");
AddMenuItem(hMenu, "mark", "Mark All");
AddMenuItem(hMenu, "unmark", "Unmark All");
new String:sClientIndex[4], sClientName[MAX_NAME_LENGTH+8];
for(new i = 1; i <= MaxClients; i++){ //Loop through all the client indexes
if(!IsClientInGame(i) || IsFakeClient(i)) continue; //Skip the ones which aren't actual players
IntToString(i, sClientIndex, sizeof(sClientIndex));
Format(sClientName, sizeof(sClientName), "%s %N", bIsWierdo[i] ? "[✓]" : "[ ]", client);
AddMenuItem(hMenu, sClientIndex, sClientName);
}
Just a heads up, the above is untested.