Mahmoud Tornado

  • Full Member
  • Posts: 220
Random Messages
«  »
Random Messages By MahmoudTornado
Code: [Select]
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

KAKAN

  • Wiki Contributor
  • Posts: 3,345
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,798
.

MatheuS

  • Wiki Contributor
  • LBR | Co-Leader & BRL and XS Evolution Developer
  • Posts: 425

Mahmoud Tornado

  • Full Member
  • Posts: 220

!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380

Discord: zeus#5155

Mahmoud Tornado

  • Full Member
  • Posts: 220

!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380
Re: Random Messages
« Reply #8,  »Last edited
Quote from Mahmoud Tornado on September 11th, 2017, 02:20 PM
lol why you love this word xDDDDDD
Which word? Where? This topic is full of words. Can you be more specific.

P.S

Quote from Mahmoud Tornado on September 11th, 2017, 02:20 PM
why you love this word.
Quote from Mahmoud Tornado on September 11th, 2017, 04:27 AM
xDDDD
Quote from Mahmoud Tornado on September 11th, 2017, 02:20 PM
xDDDDDD

:edit:
Someone has obeyed my orders.... ;D

Discord: zeus#5155