How can i add Random Messages on the server
#1

I want to put random Automatic messages on random colors for players so they can read them
Reply
#2

I've no idea why you would use this but anyway.

Make all the messages you want, make a timer with a random interval, pick a color randomly then send the message. https://sampwiki.blast.hk/wiki/Random

Small example:

Код:
new rand;
rand = random ( 10 );
switch(rand)
{
case 1: // 0
{
SendClientMessage(playerid, color_red, "Bla Bla Bla");
}
}
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=327709
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)