How to make multiple cmds?
#4

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.

Reply


Messages In This Thread
How to make multiple cmds? - by Flavius - 12.05.2009, 15:41
Re: How to make multiple cmds? - by AiVAMAN - 12.05.2009, 15:45
Re: How to make multiple cmds? - by Flavius - 12.05.2009, 15:47
Re: How to make multiple cmds? - by Weirdosport - 12.05.2009, 15:49
Re: How to make multiple cmds? - by Flavius - 12.05.2009, 15:50
Re: How to make multiple cmds? - by Weirdosport - 12.05.2009, 15:54
Re: How to make multiple cmds? - by AiVAMAN - 12.05.2009, 15:57
Re: How to make multiple cmds? - by Flavius - 12.05.2009, 16:01
Re: How to make multiple cmds? - by Weirdosport - 12.05.2009, 16:02
Re: How to make multiple cmds? - by Flavius - 12.05.2009, 16:04

Forum Jump:


Users browsing this thread: 1 Guest(s)