SA-MP Forums Archive
Automatic Server Messages - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Automatic Server Messages (/showthread.php?tid=136420)



Automatic Server Messages - PoliceRock101 - 25.03.2010

Hello i need help again. I want to create automatic server messages and i forgot how i did that. Can someone please give me the code to help me out here. Thanks for any help. For example when people are connected they can see server messages that go off like every 5 minutes saying "Please visit our forums at samp" for example. Thanks for any help guys


Re: Automatic Server Messages - ExoSanty - 25.03.2010

ongamemodeinit:

Код:
SetTimer("message",5 * 60000,true);
seperate:

Код:
forward message();
public message()
{
	SendClientMessageToAll(sometextcolorhere, "your message here");
}



Re: Automatic Server Messages - Las Venturas CNR - 25.03.2010

Quote:
Originally Posted by ExoSanty
ongamemodeinit:

Код:
SetTimer("message",5 * 60000,true);
seperate:

Код:
forward message();
public message()
{
	SendClientMessageToAll(sometextcolorhere, "your message here");
}
Or.... https://sampwiki.blast.hk/wiki/Random_Messages


Re: Automatic Server Messages - Scenario - 25.03.2010

You could also use the Search feature on this forum. It comes in handy.

Search: Seif Announcements

I use his announcement system.

*Thanks Seif_