12.05.2009, 15:49
If you want to make your own admin script and have all of the admins displayed as /admins there are 2 options.
You can either have them like:
Bob (lvl1)
Fred (lvl2)
or
Bob(lvl1), Fred(lvl2)
To do the first one you just need a for loop checking if each player is an admin, and if they are do a SendClientMessage. The second requires you to use something like strcat, or format if you're not comfortable with strcat.
You can either have them like:
Bob (lvl1)
Fred (lvl2)
or
Bob(lvl1), Fred(lvl2)
To do the first one you just need a for loop checking if each player is an admin, and if they are do a SendClientMessage. The second requires you to use something like strcat, or format if you're not comfortable with strcat.