[FilterScript] [FS]Messages.
#3

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;
}
Reply


Messages In This Thread
[FS]Messages. - by stylezzz - 29.10.2010, 17:23
Re: [FS]Messages. - by Noss* - 29.10.2010, 17:27
Re: [FS]Messages. - by stylezzz - 29.10.2010, 17:31
Re: [FS]Messages. - by Hiddos - 29.10.2010, 17:32
Re: [FS]Messages. - by stylezzz - 29.10.2010, 17:34
Re: [FS]Messages. - by TheHoodRat - 29.10.2010, 17:36
Re: [FS]Messages. - by stylezzz - 29.10.2010, 17:40
Re: [FS]Messages. - by Noss* - 29.10.2010, 17:42
Re: [FS]Messages. - by TheHoodRat - 29.10.2010, 17:59
Re: [FS]Messages. - by stylezzz - 29.10.2010, 18:00

Forum Jump:


Users browsing this thread: 1 Guest(s)