[FilterScript] [FS] Easy Announce - 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] Easy Announce (
/showthread.php?tid=79728)
[FS] Easy Announce -
GTA_Rules - 30.05.2009
Hi there!
1. Introduction
I know this is
extremely easy to make, but when I was a newbie I needed something like this and all I could find was Seif's one, which works perfectly fine, but it doesn't send the announcements randomly. So yeah I thought some people might think this is usefull.
2. Features
This is easy to use and even more easy to edit.
You can easily change the ammount of minutes an announcement has to be sent without calculating with milliseconds, just change that line into the ammounts of minutes you want.
pawn Code:
#define Announce_Time 1 // Change this in the ammount of minutes you want a random announcement to be sent. 1 = 1 minute, 2 = 2 minutes etc...
Same for the number of announcements:
pawn Code:
#define Number_Of_Announcements 5 // This is the ammount of announcements.
It simply explains itself.
3. Downloads
*
Pastebin
*
Megaupload (Recommended)
4. How to install?
Download the .pwn from one of the links provided above and compile them. Then add "Announce.amx" to your "filterscripts" folder and add "Announce" to your server.cfg in the filterscripts line.
5. Credits
I take credits for all of this, you are not allowed to edit and republish it. Putting me in the credits is highly appreciated!
Bye!
Re: [FS] Easy Announce -
Weirdosport - 30.05.2009
You can get rid of the need for "Number_Of_Announcements" by leaving it empty .. []
The sizeof(Announcements) you use later will work it out anyway. At least, it works for me so I assume that's how it works..
Re: [FS] Easy Announce -
Luka P. - 30.05.2009
Works for me,nice
Re: [FS] Easy Announce -
GTA_Rules - 30.05.2009
Quote:
Originally Posted by Weirdosport
You can get rid of the need for "Number_Of_Announcements" by leaving it empty .. []
The sizeof(Announcements) you use later will work it out anyway. At least, it works for me so I assume that's how it works..
|
Oops right, sorry. Thank you for the advice
Re: [FS] Easy Announce -
Luka P. - 30.05.2009
Quote:
Originally Posted by Weirdosport
You can get rid of the need for "Number_Of_Announcements" by leaving it empty .. []
The sizeof(Announcements) you use later will work it out anyway. At least, it works for me so I assume that's how it works..
|
No matter for that,it works!
Re: [FS] Easy Announce -
Weirdosport - 30.05.2009
Yeah but then you have to count how many messages there are.. which is oh so labour intensive..
Re: [FS] Easy Announce -
GTA_Rules - 30.05.2009
Quote:
Originally Posted by Weirdosport
Yeah but then you have to count how many messages there are.. which is oh so labour intensive..
|
Totally :P, thanks for the replies!
Re: [FS] Easy Announce -
Joe_Rock - 30.05.2009
Very nice, works well.
Re: [FS] Easy Announce -
Decist - 31.05.2009
wow... this is so cool!!
Re: [FS] Easy Announce -
GTA_Rules - 31.05.2009
Thanks :P