SA-MP Forums Archive
[FilterScript] [FS]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]Messages. (/showthread.php?tid=186552)



[FS]Messages. - stylezzz - 29.10.2010

I Thought id Randomly make a messages FilterScript for people enjoy.


Re: [FS]Messages. - Noss* - 29.10.2010

More detail please? Or screenshots? Messages? I don't know what you mean it could me a textdraw or a pm script... More detail


Re: [FS]Messages. - stylezzz - 29.10.2010

if you want to add this in this game mode script:

#define ANNOUNCEMENT 0xFFFF00AA //Add this at the top of the script!

forward GlobalAnnouncement(); //Add this at the top of the script!

new Msg;
new Announcements[8][128] = { //Add this above main!
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here",
"[MSG]:Your Message here"};

public GlobalAnnouncement() //Add this under OnPlayerCommand Text right at the bottom!
{
switch (Msg)
{
case 0: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[0]); Msg++;}
case 1: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[1]); Msg++;}
case 2: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[2]); Msg++;}
case 3: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[3]); Msg++;}
case 4: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[4]); Msg++;}
case 5: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[5]); Msg++;}
case 6: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[6]); Msg++;}
case 7: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[7]); Msg = 0;}
}
return 1;
}


Re: [FS]Messages. - Hiddos - 29.10.2010

It's (another) one of those filterscripts that send random 'server' messages to everybody, like "Announcement: Visit our forums at www.stalkernet.com" or "Server closed the connection (Yes, this is a common joke which I might use as well )". Insert ironic comment here.


Re: [FS]Messages. - stylezzz - 29.10.2010

Noss* this is a messages on the server there not textdraws it just sends simple messages like RandomMessages but they arent random


Re: [FS]Messages. - TheHoodRat - 29.10.2010

So all you did is basically copy off the random messages tutorial in the wiki, change a bit of stuff, then release it? Dude, there are TOO many of these filterscripts on the forum.


Re: [FS]Messages. - stylezzz - 29.10.2010

No i didn't copy and past of samp wiki random messages are different to my filterscript mine doesnt say one message then the same message again after mine does each message one after another please try not to make me look dumb becuase you just failed...and for to many of them i cant find one like mine and im new scripter so im releasing easy things i do..


Re: [FS]Messages. - Noss* - 29.10.2010

Quote:
Originally Posted by stylezzz
Посмотреть сообщение
Noss* this is a messages on the server there not textdraws it just sends simple messages like RandomMessages but they arent random
Alright.


Re: [FS]Messages. - TheHoodRat - 29.10.2010

Quote:
Originally Posted by stylezzz
Посмотреть сообщение
and for to many of them i cant find one like mine
Are you sure you didn't change the public name and change the enum name? Alright then.


Re: [FS]Messages. - stylezzz - 29.10.2010

yup im 100% possitive... ive been making my own stunt game mode and i added messages to it that i MADE and thought id make a fs out of it.