02.08.2011, 22:08
pawn Код:
#include <a_samp>
new MessageTimer;
new Messages[][] =
{
{"Message Here"},
{"Message Here"},
{"Message Here"},
{"Message Here"},
{"Message Here"},
{"Message Here"}
};
forward SendMessagesToAll();
public SendMessagesToAll()
{
GameTextForAll(Messages[random(sizeof(Messages))], 4000, 0);
return 1;
}
//OnFilterScriptInit
public OnFilterScriptInit()
{
MessageTimer = SetTimer("SendMessagesToAll",60000, 1);
return 1;
}
//OnFilterScriptExit
public OnFilterScriptExit()
{
KillTimer(MessageTimer);
return 1;
}
**Edit, I just seen the picture, you might not want this.