Whats wrong with this?
#4

pawn Код:
#define FILTERSCRIPT
#define COLOR_LIGHTBLUE 0x33CCFFAA

#include <a_samp>

#if defined FILTERSCRIPT

forward Messages();

new Message[][] =
{
  "[Aaron's Finest]Welcome to Aaron's Finest!",
  "[Aaron's Finest]Do /cars for cars!",
  "[Aaron's Finest]Wanna be in the [AF] S.W.A.T? Do /swat now!!",
  "[Aaron's Finest]Wanna be a terrorist and terrorize the city? Do /terror now!"
};
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Automatic Messages by iLcke");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
#endif

public OnGameModeInit()
{
  SetTimer("Messages", 100000, true); // 12000 = 2 minutes
    return 1;
}
public Messages()
{
  new randMSG = random(sizeof(Message));
  SendClientMessageToAll(COLOR_LIGHTBLUE, Message[randMSG]);
}
This compiles fine by me...
Reply


Messages In This Thread
Whats wrong with this? - by rohan234 - 28.05.2010, 13:48
Re: Whats wrong with this? - by ViruZZzZ_ChiLLL - 28.05.2010, 13:51
Re: Whats wrong with this? - by rohan234 - 28.05.2010, 13:55
Re: Whats wrong with this? - by ViruZZzZ_ChiLLL - 28.05.2010, 13:57

Forum Jump:


Users browsing this thread: 1 Guest(s)