Announceing help
#10

pawn Код:
// The top of the script.
new RandomMessages[][] =
{
    "Have you seen a hacker? /report [ID] [Reason]",
    "Only Noobs Rule break! Are you a noob?",
    "Did you know we have forums? Register today!",
    "You are playing on MY OWN SERVER.!"
};

new Text:TextRandom; // Same.
forward RandomMessage(); // Up there tho.

SetTimer("RandomMessage",3000,1); // Under OnGameModeInit

// Anywhere.

public RandomMessage()
{
        TextDrawSetString(TextRandom, RandomMessages[random(sizeof(RandomMessages))]);
        return 1;
}
You just have to change the position and probablly add it a box or something.
Reply


Messages In This Thread
Announceing help - by ServerRestart - 02.08.2011, 21:55
Re: Announceing help - by sleepysnowflake - 02.08.2011, 22:00
Re: Announceing help - by ServerRestart - 02.08.2011, 22:01
Re: Announceing help - by ServerRestart - 02.08.2011, 22:04
Re: Announceing help - by Odyssey - 02.08.2011, 22:08
Re: Announceing help - by sleepysnowflake - 02.08.2011, 22:09
[No subject] - by ServerRestart - 02.08.2011, 22:10
Re: Announceing help - by Sil3nc3d Gh0st - 02.08.2011, 22:12
Re: Announceing help - by ServerRestart - 02.08.2011, 22:14
Re: Announceing help - by sleepysnowflake - 02.08.2011, 22:16
Re: Announceing help - by ServerRestart - 02.08.2011, 22:25
Re: Announceing help - by sleepysnowflake - 02.08.2011, 22:28
Re: Announceing help - by ServerRestart - 02.08.2011, 22:35

Forum Jump:


Users browsing this thread: 2 Guest(s)