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



AutoMessages - BRICS - 27.03.2012

The script sends chat messages, depending on the parameters. See the example:
The example Database Script

Код:
0 = This message is sent when a player connect|connect
1 = This message is sent when a player spawn|spawn
2 = This message is sent every 10 seconds|seconds|10
3 = This message is sent every minute|minutes|1
4 = This message is sent when a player death|death
5 = This message is sent every 1 hour|hours|1


[ID = message|parameter|interval(if it's necessary)]

Parameter's list:

Код:
second - sending a message to the chat every Х seconds
minutes - sending a message to the chat every Х minutes
hours - sending a message to the chat every Х hours
death - sending a message when a Player death
spawn - sending a message when a Player spawn
connect - sending a message when a Player connect
Features:
* Messages loading from .ini file
* Use one timer
* Creating Databases with the pattern in her absence
* Fool-protection: You can not set the wrong values ​​for the messages

Compatibility:

WINDOWS | LINUX
hours: YES | YES
seconds: YES |YES
minutes: YES |YES
spawn: YES |YES
death: YES |Probably not
connect: YES |Probably not

Example of use:

Quote:

0 = {00ff00}Welcome to {ffff00}[SERVERNAME]|connect
1 = {00ff00}Dear players. Visit our website, "siteehample.com"|minutes|4
2 = {00ff00}Good luck on our server|minutes|4
3 = You playing on [SERVERNAME]|hours|1

Author: BRICS
Credits: MX_MASTER (MxINI)

Download: DropBox


Re: AutoMessages - Roddan - 27.03.2012

Thank you!


Re: AutoMessages - Sami Ham - 27.03.2012

THANK U VERY NICE
REPED ++


Re: AutoMessages - BRICS - 01.05.2012

up !


Re: AutoMessages - TheDominator - 01.05.2012

Thanks for this. Rep+


Re: AutoMessages - doreto - 01.05.2012

why i will wont to send message every 10 sec thats its clear spamm xD


Re: AutoMessages - BRICS - 01.05.2012

Quote:

why i will wont to send message every 10 sec thats its clear spamm xD

PHP код:
This message is sent every 1 seconds|seconds|
it would be better


Re: AutoMessages - 4LiSs0N - 01.05.2012

nice


Re: AutoMessages - Biesmen - 01.05.2012

Quote:
Originally Posted by BRICS
Посмотреть сообщение
death: YES |Probably not
connect: YES |Probably not
Why won't this work on linux? Usually this problem is only for plugins.


Re: AutoMessages - BRICS - 01.05.2012

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Why won't this work on linux? Usually this problem is only for plugins.
I tested it on my server that runs on Linux

I use ****** Translator