[Include] SendTimeMessage - 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)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] SendTimeMessage (
/showthread.php?tid=411699)
SendTimeMessage -
Kaliber - 30.01.2013
Yeah hello everybody, first i want to say sorry for my bad english xD
So second i want to present an new Include, it isn't something special, but i want to show you something
Function:
So this is the Function:
Код:
SendTimeMessage(playerid,color,time(in seconds),string1,string2,string3,---);
Limits:
You can define your own Limit

Look:
Код:
#define MAX_ARGS 10 //Now you can use 10 arguments
#include <tm> //the define must be over the included Include !
The other Limit is, that you usually use only 64 chars for one string, but this you can upper:
Код:
#define MAX_STRING 128 //Now you can use 128 chars
#include <tm> //the define must be over the included Include !
Example:
Код:
SendTimeMessage(playerid,0xFF4800FF,10,"hi1","hi2","hi3");
This would send "hi1" directly after 10 seconds "hi2" and after 10 seconds after "hi2" it would send "hi3" and so on
Download:
Source-Code:
Pastebin
I hope you enjoy it and give me a little Feedback
Re: SendTimeMessage -
[GF]Logic - 30.01.2013
So Uhm it's like a random message system with out making it to send messages randomly ?!
Re: SendTimeMessage -
karolis1478 - 30.01.2013
i tink its random messages, but its more simple, i like it
Re: SendTimeMessage -
XtremeR - 30.01.2013
Umm any more info about it?
Re: SendTimeMessage -
Madeline - 30.01.2013
So simple. Good job for the include though.
AW: SendTimeMessage -
Kaliber - 30.01.2013
LOL, nothing random
I wrote the function...read ist:
Example:
Code:
Код:
SendTimeMessage(playerid,0xFF4800FF,10,"hi1","hi2","hi3");
This would send "hi1" directly, after 10 seconds "hi2" and after 10 seconds after "hi2" it would send "hi3" and so on