10.09.2011, 06:46
Saving memory:
pawn Code:
public OnFilterScriptInit() //Or OnGameModeInit depending on your script.
{
SetTimer("Announce", 1000 * 60 * 2, true); // 2 minutes
return true;
}
forward Announce();
public Announce()
{
switch(random(4))
{
case 0: SendClientMessageToAll(0x00FFFFFF,"** Use /report if you notice rulebreakers!");
case 1: SendClientMessageToAll(0x00FFFFFF,"** Do not use hacks, cheats or any kind of unfair advantages!");
case 2: SendClientMessageToAll(0x00FFFFFF,"** Use /help /cmds if you are new!!");
case 3: SendClientMessageToAll(0x00FFFFFF,"** I'm tired of writing more messages :P");
}
return 1;
}