Author Topic: Random Messages By Fast  (Read 3054 times)

0 Members and 1 Guest are viewing this topic.

Offline [NYB]fast:p

  • Street Thug
  • *
  • Posts: 28
    • View Profile
Random Messages By Fast
« on: August 08, 2014, 05:54:26 pm »
[pawn]
new RandomMessagesList[][] =
{
"Welcome Use !rules Before Playing",
"Want a weapon use !wep <name/id> Now!",
"New System by Fast",
};[/pawn]

Msg Timer
[pawn] SetTimer("RandomMessages", 50000, true);[/pawn]

Fuction On public
[pawn]forward RandomMessages();
public RandomMessages()//Public what sends the messages
{
SendClientMessageToAll(0xF6A113FF, RandomMessagesList[random(sizeof(RandomMessagesList))]);
}[/pawn]
My Server Showroom: www.nybsr.createaforum.com
« Last Edit: August 08, 2014, 05:58:03 pm by [NYB]fast:p »