SA-MP Forums Archive
[FilterScript] [FS] Automatic 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Automatic Messages (/showthread.php?tid=150638)



[FS] Automatic Messages - iLcke - 27.05.2010

I never did any scripting in awhile, and in my server would have some automatic messages, so i decided to make a Filter Script of one to give out for people..

Automatic Messages by iLcke
Whats so special about it?
Nothing really.. Just you don't gota tell people to go to your forum ect, Every two minutes there would be a message that comes up.
How Long did it take you to make it?
5-10 Minutes.
Screens?
Eh, sure, Why not! "www.sa-mp.com" and the one about RC7 sa-mp is the automessage. There are a total of 3 auto messages though. But you could edit it to your own needs..


(Couldn't really think of nothing for auto messages at the time)

Script Lines?
Not many.. Just 44..

Download?
I recommend PasteBin, where you know what your getting, and all you gota do is copy + paste..
PasteBin: http://pastebin.com/cXpx57N7
PasteBin: http://pastebin.com/Y7WKZJjP - This one has a few lines taken off, thanks TMasters.ProRP

Do whatever you want with the script, i don't really care.. Just, comment.



Re: [FS] Automatic Messages - -Rebel Son- - 27.05.2010

Pretty decent. nice work


Re: [FS] Automatic Messages - iLcke - 27.05.2010

Thanks,


Re: [FS] Automatic Messages - park4bmx - 27.05.2010

Nice [FS] dude keep it up


Re: [FS] Automatic Messages - IanDaCJ - 27.05.2010

nice but they r called Random Messages


Re: [FS] Automatic Messages - Wasim_Cortez - 27.05.2010

Not bad bro.


Re: [FS] Automatic Messages - Killa[DGZ] - 27.05.2010

Small, Simple and very usefull


Re: [FS] Automatic Messages - hab2ever - 27.05.2010

Nice fs


Re: [FS] Automatic Messages - ~Ricky~ - 27.05.2010

really simple


Re: [FS] Automatic Messages - Flashy - 27.05.2010

Well, scripts like that is such for pleople that are reaaaaaaallyy beginners at scripting.
It is so easy to make that.

But anyways. Nice. Go learn more Scripting and surprise me with more stuff like that (please not so lame stuff )




Re: [FS] Automatic Messages - TMasters - 27.05.2010

Here a bit optimised one, i just reedited


public OnGameModeInit()
{
SetTimer("Messages", 120000, true); // 120000 = 2 minutes
return 1;
}
public Messages()
{
new randMSG = random(sizeof(Message));
SendClientMessageToAll(COLOR_LIGHTBLUE, Message[random(sizeof(Message))]);
}


anyways, here it is
http://pastebin.com/Y7WKZJjP


Re: [FS] Automatic Messages - iLcke - 27.05.2010

Thanks everyone

Quote:
Originally Posted by Flashy
Well, scripts like that is such for pleople that are reaaaaaaallyy beginners at scripting.
It is so easy to make that.

But anyways. Nice. Go learn more Scripting and surprise me with more stuff like that (please not so lame stuff )
Sure, will work on more FS later.. But its summer, and i have free time, and i mean alot of free time, so i will be scripting my GM(RP Script, 23,000+ lines) and might start on a Drift/DM Gamemode and release it.


Re: [FS] Automatic Messages - Adoniiz - 28.05.2010

Nice man


Re: [FS] Automatic Messages - MasterB - 28.05.2010

Nice, i already made 1 myself else i would have used yours


Re: [FS] Automatic Messages - iLcke - 28.05.2010

Awesome, 100th post.
And thank you everyone.


Re: [FS] Automatic Messages - Bcklup - 28.05.2010

Nice , But you can add more features like Random COLOR Texts


Re: [FS] Automatic Messages - iLcke - 29.05.2010

I never thought of that. I might give it ago..


Re: [FS] Automatic Messages - Hiddos - 30.05.2010

Question: Why are you using both OnGameModeInit and OnFilterScriptInit?


Re: [FS] Automatic Messages - Mujib - 30.05.2010

Simple, easy and useful!
Great job.

Greets,
Mujib


Re: [FS] Automatic Messages - iLcke - 31.05.2010

Quote:
Originally Posted by Hiddos
Question: Why are you using both OnGameModeInit and OnFilterScriptInit?
Cause it was like 1-3am my time when i was working on it.. I wasn't thinking straight.