Two Questions
#1

Hello I have these codes here.

pawn Код:
SetTimer("SendRandomMsgToAll", 1200 * 1000, 1);
This is placed under
pawn Код:
public OnFilterScriptInit()
{
First question is, the 1200, shown next to "SendRandomMsgToAll" , does that correspond to when each message shows up, in that case it is every 20minutes one random message will show up (random messages displayed below) (1200 = 1200 seconds = 20mins)

pawn Код:
forward SendRandomMsgToAll();
public SendRandomMsgToAll()
{
        switch(random(4))
        {
                case 0: SendClientMessageToAll(0x00ff00ff, "Please donate to keep the server running.");
                case 1: SendClientMessageToAll(0x00ff00ff, "Version 7.0.0");
                case 2: SendClientMessageToAll(0x00ff00ff, "Want to go afk? Type /afk");
                case 3: SendClientMessageToAll(0x00ff00ff, "Type /anns to view the current global announcements.");
        }
}


Next question is, these messages appear in the chatbox at the top left.
How do I make it so they appear at the botton of the screen, instead of in the chatbox?

Like this (I made this picture in paint).




Thanks in advance.
Reply


Messages In This Thread
Two Questions - by captainjohn - 21.02.2011, 13:19
Re: Two Questions - by JaTochNietDan - 21.02.2011, 13:22
Re: Two Questions - by jameskmonger - 21.02.2011, 13:22
Re: Two Questions - by captainjohn - 21.02.2011, 13:31
Re: Two Questions - by JaTochNietDan - 21.02.2011, 13:39
Re: Two Questions - by captainjohn - 21.02.2011, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)