How do i make Random Messages?
#1

How do i make Random Messages that sends to all players in every 5 minutes
Reply
#2

Like this:-

https://sampforum.blast.hk/showthread.php?tid=324497
Reply
#3

pawn Код:
//top of your GM
new RandomMSG[][] =
{
    "Random Message 1",
    "Random Message 2",
    "Random Message 3"
};
pawn Код:
//under OnGameModeInit
SetTimer("SendMSG", 60000, true);
// 60000ms = 60 seconds = 1 minute
pawn Код:
forward SendMSG();
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(COLOR, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
https://sampwiki.blast.hk/wiki/Random_Messages
Reply
#4

Use this site:
And then choose Generators - > Advertises generator.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)