Random Messages
#10

Here one for you
pawn Код:
#define GREEN      0x15FF00AA
new RandomMessages[][] = {
  "{FFFFFF}[Info]: {63F279}Like our server? Add us in favourite!",
  "{FFFFFF}[Info]: {63F279}To get more knowledge about the current commands, please use /cmds.",
  "{FFFFFF}[Info]: {63F279}You want to check your stats? use /stats [Your ID], you can check other's stats
  "
{FFFFFF}[Info]: {63F279}Use /admins to see the current online staff members.",
  "
{FFFFFF}[Info]: {63F279}Spotted a hacker? don't panic, use /report [ID] [Reason] and let our staff team handle it.",
  "{FFFFFF}[Info]: {63F279}You want to help the server grow up? donate for us to keep us alive!"
  };

forward RandomMessage();
public RandomMessage()
{
SendClientMessageToAll(GREEN, RandomMessages[random(sizeof(RandomMessages))]);
return 1;
}

public OnGameModeInit()
{
    SetTimer("RandomMessage", 60000, 1); // 1 Minutes
    return 1;
}
Reply


Messages In This Thread
Random Messages - by Lidor124 - 13.03.2014, 13:39
Re: Random Messages - by zDbruno - 13.03.2014, 13:47
Re: Random Messages - by BroZeus - 13.03.2014, 13:51
Re: Random Messages - by Greaper - 13.03.2014, 13:54
Re: Random Messages - by Ardenshy - 13.03.2014, 13:55
Re: Random Messages - by Lidor124 - 13.03.2014, 14:03
Re: Random Messages - by Lidor124 - 13.03.2014, 14:05
Re: Random Messages - by Drago987 - 13.03.2014, 14:07
Re: Random Messages - by AnonScripter - 13.03.2014, 14:10
Re: Random Messages - by ChandraLouis - 13.03.2014, 14:14

Forum Jump:


Users browsing this thread: 2 Guest(s)