How to Make a Custom Message Function
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
It depends on how far you want to go. The code above (apart from ignoring that you were using "foreach" and "format") will send messages of a certain form to a certain set of players. If you want to send them to another set of players or in another form you will need another function (and hence will need one for every possible combination). Or you can try and generalise your code (or get a library) so that you only need one function that can do it all for you (though it would be a more complex function).
Well, I understand most part of this, but all I need is to make a shorter function that sends a message to all admins online with lvl 4 or higher,

The message must be defined in the cmd that is executed,
Reply


Messages In This Thread
How to Make a Custom Message Function - by milanosie - 07.02.2012, 17:25
Re: How to Make a Custom Message Function - by iTorran - 07.02.2012, 17:30
Re: How to Make a Custom Message Function - by Max_Coldheart - 07.02.2012, 17:47
Re: How to Make a Custom Message Function - by milanosie - 07.02.2012, 17:51
Re: How to Make a Custom Message Function - by milanosie - 07.02.2012, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)