Random Messages By MahmoudTornado
lastElement <- 0;
myArray <- [
"[#00de00]Msg1.", \\ you can add more msg
"[#00de00]Msg2.", \\ this color is white #00de00
"[#00de00]Msg3.",
"[#00de00]Msg4.",
"[#00de00]Msg5.",
];
function Messages()
{
local currentString = myArray[lastElement];
lastElement++;
if( lastElement > ( myArray.len() - 1 ) )
lastElement = 0; // reset to 0
Message( currentString );
}
NewTimer( "Messages", 360000, 0 ); \\ 1000 = 1 sec
http://forum.vc-mp.org/?topic=1028.0 mixed with http://forum.vc-mp.org/?topic=2103.0
I'm pretty sure its mine 'cause no one uses '\\' for comments. Seriously :P
http://forum.vc-mp.org/?topic=246.msg2637#msg2637
https://bitbucket.org/stormeus/vl8-pb400/src/97957ce06cf26e3210bae62523b1e5c619e99cfd/RandomMessages.nut?at=master&fileviewer=file-view-default
i don't know what is that :P
Quote from: KAKAN on Sep 10, 2017, 04:44 PMhttp://forum.vc-mp.org/?topic=1028.0 mixed with http://forum.vc-mp.org/?topic=2103.0
I'm pretty sure its mine 'cause no one uses '\\' for comments. Seriously :P
Quote from: . on Sep 10, 2017, 05:11 PMhttp://forum.vc-mp.org/?topic=246.msg2637#msg2637
Quote from: MatheuS on Sep 10, 2017, 06:07 PMhttps://bitbucket.org/stormeus/vl8-pb400/src/97957ce06cf26e3210bae62523b1e5c619e99cfd/RandomMessages.nut?at=master&fileviewer=file-view-default
But This I didn't saw it before xDDDD
Quote from: Mahmoud Tornado on Sep 11, 2017, 03:27 AMBut This I didn't saw it before xDDDD
There's a search button at the top right side of forum.Use it. It'll not hurt you.
Quote from: zeus on Sep 11, 2017, 01:18 PMQuote from: Mahmoud Tornado on Sep 11, 2017, 03:27 AMBut This I didn't saw it before xDDDD
There's a search button at the top right side of forum.Use it. It'll not hurt you.
lol why you love this word xDDDDDD
nice and easy
It works, thanks to this I can make my ad system without complicating myself, thanks