SendClientMessage Server wide
#7

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;
}
Reply


Messages In This Thread
SendClientMessage Server wide - by BrokinJesus - 10.09.2011, 04:28
Re: SendClientMessage Server wide - by Lorenc_ - 10.09.2011, 04:32
Re: SendClientMessage Server wide - by iPLEOMAX - 10.09.2011, 04:36
Re: SendClientMessage Server wide - by BrokinJesus - 10.09.2011, 04:38
Re: SendClientMessage Server wide - by grand.Theft.Otto - 10.09.2011, 04:52
Re: SendClientMessage Server wide - by iPLEOMAX - 10.09.2011, 04:52
Re: SendClientMessage Server wide - by =WoR=Varth - 10.09.2011, 06:46
Re: SendClientMessage Server wide - by BrokinJesus - 10.09.2011, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)