Thread: custom amx_who
View Single Post
T30D0Rv2
New Member
Join Date: Jun 2021
Old 06-10-2021 , 12:16   Re: custom amx_who
Reply With Quote #2

If able, I would like to have this implemented as it would probably be easier.

Code:
#define MAX_GROUPS 12
new g_groupNames[MAX_GROUPS][] = {
"Fondator",
"Manager",
"Administrator",
"Super-Moderator",
"Moderator",
"Helper",
"VIP",
"Slot",
"Premium"
}

new players[32], inum, player, name[32], i, a
get_players(players, inum)
console_print(id, "============[SLXD]============")
for(i = 0; i < MAX_GROUPS; i++) {
console_print(id, "=>%s<=", g_groupNames[i])
for(a = 0; a < inum; ++a) {
player = players[a]
get_user_name(player, name, 31)
if(szRank == g_groupNames[i]) {
console_print(id, "%s", name)
}
}
}
console_print(id, "============[SLXD]============")
T30D0Rv2 is offline