[Include] SendTimeMessage
#1

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
Reply
#2

So Uhm it's like a random message system with out making it to send messages randomly ?!
Reply
#3

i tink its random messages, but its more simple, i like it
Reply
#4

Umm any more info about it?
Reply
#5

So simple. Good job for the include though.
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)