[Tutorial] Random Messages [Simple]
#7

Quote:
Originally Posted by Twisted_Insane
View Post
By the way, it wouldn't work ANYWAYS, lol! Where are you telling the script to send them random? It has to look like (for example) this:

pawn Code:
public RandomMessages()
{
    new randomMsg = random(sizeof(randomMessages));
    SendClientMessageToAll(COLOR_ORANGERED, randomMessages[randomMsg]);
}
Actually, the way he does it works as well. Doesn't change the fact that this isn't a tutorial but just a bunch of code though.
Reply


Messages In This Thread
Random Messages [Simple] - by sniperwars - 27.03.2012, 14:32
Re: Random Messages [Simple] - by emokidx - 27.03.2012, 14:38
Re: Random Messages [Simple] - by Nicholas. - 27.03.2012, 14:43
Re : Random Messages [Simple] - by mehdi-jumper - 27.03.2012, 16:16
Re: Random Messages [Simple] - by captainjohn - 27.03.2012, 16:27
Re: Random Messages [Simple] - by Twisted_Insane - 27.03.2012, 16:45
Re: Random Messages [Simple] - by Hiddos - 27.03.2012, 16:50
Re: Random Messages [Simple] - by Twisted_Insane - 27.03.2012, 16:52
Re: Random Messages [Simple] - by Basssiiie - 27.03.2012, 16:54
Re: Random Messages [Simple] - by emokidx - 27.03.2012, 16:56
Re: Random Messages [Simple] - by Hiddos - 27.03.2012, 16:59
Re: Random Messages [Simple] - by FireCat - 27.03.2012, 17:11
Re: Random Messages [Simple] - by Dripac - 27.03.2012, 18:21
Re: Random Messages [Simple] - by sniperwars - 27.03.2012, 19:22
Re: Random Messages [Simple] - by shitbird - 27.03.2012, 20:17
Re: Random Messages [Simple] - by Basssiiie - 29.03.2012, 13:18
Re: Random Messages [Simple] - by $$inSane - 02.05.2012, 10:44
Re: Random Messages [Simple] - by RedWingz - 18.05.2012, 21:47
Re: Random Messages [Simple] - by 2xRichard - 14.07.2017, 13:01
Re: Random Messages [Simple] - by H4RR1s - 14.07.2017, 13:11
Re: Random Messages [Simple] - by xMoBi - 14.07.2017, 13:24
Re: Random Messages [Simple] - by 2xRichard - 19.08.2017, 05:51

Forum Jump:


Users browsing this thread: 3 Guest(s)