SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 30/05/2009, 03:58 PM   #1
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default [FS] Easy Announce

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!
GTA_Rules is offline   Reply With Quote
Old 30/05/2009, 04:18 PM   #2
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: [FS] Easy Announce

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..
Weirdosport is offline   Reply With Quote
Old 30/05/2009, 04:34 PM   #3
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,428
Reputation: 13
Default Re: [FS] Easy Announce

Works for me,nice
Luka P. is offline   Reply With Quote
Old 30/05/2009, 04:38 PM   #4
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default Re: [FS] Easy Announce

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
GTA_Rules is offline   Reply With Quote
Old 30/05/2009, 04:40 PM   #5
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,428
Reputation: 13
Default Re: [FS] Easy Announce

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!
Luka P. is offline   Reply With Quote
Old 30/05/2009, 04:45 PM   #6
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: [FS] Easy Announce

Yeah but then you have to count how many messages there are.. which is oh so labour intensive..
Weirdosport is offline   Reply With Quote
Old 30/05/2009, 05:24 PM   #7
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default Re: [FS] Easy Announce

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!
GTA_Rules is offline   Reply With Quote
Old 30/05/2009, 05:52 PM   #8
Joe_Rock
Little Clucker
 
Join Date: Mar 2008
Posts: 5
Reputation: 0
Default Re: [FS] Easy Announce

Very nice, works well.
Joe_Rock is offline   Reply With Quote
Old 31/05/2009, 02:07 AM   #9
Decist
Little Clucker
 
Join Date: Nov 2008
Posts: 23
Reputation: 0
Default Re: [FS] Easy Announce

wow... this is so cool!!
Decist is offline   Reply With Quote
Old 31/05/2009, 11:26 AM   #10
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default Re: [FS] Easy Announce

Thanks :P
GTA_Rules is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/announce help! DjSterios Help Archive 4 09/11/2009 03:55 PM
announce.exe? chasestein Client Support 2 11/09/2009 04:04 AM
about announce .. help me please Sfinx_17 Help Archive 6 22/08/2009 09:20 PM
Help With Announce Hiitch Help Archive 3 29/06/2009 09:51 PM
/announce help GTA_Rules Help Archive 12 21/03/2009 12:25 PM


All times are GMT. The time now is 09:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.