[FilterScript] Odyssey Messages.
#1

-delete-
Reply
#2

Awesome 10/10

Quote:
Originally Posted by San Andreas Multiplayer forums
This forum requires that you wait 120 seconds between posts. Please try again in 69 seconds.
Quote:
Originally Posted by San Andreas Multiplayer forums
This forum requires that you wait 120 seconds between posts. Please try again in 40 seconds.
Quote:
Originally Posted by San Andreas Multiplayer forums
This forum requires that you wait 120 seconds between posts. Please try again in 13 seconds.
Reply
#3

Quote:
Originally Posted by seanny
Посмотреть сообщение
Awesome 10/10
Thanks.

And whats with all those quotes about the 120 second waiting time?
Reply
#4

"Its not quite how you would expect a random message system to be."
Its worse.

A better way of doing it would be:
pawn Код:
new RandomMSG[][] =
{
    "[Info] Message!",
    "[Info] Also a message",
    "[Info] LastMessage!"
};
public OnFilterScriptInit() return SetTimer("SendMSG",10000,false);
public SendMSG()
{
    SendClientMessageToAll(0xFFFFFFFF, RandomMSG[random(sizeof(RandomMSG))]);
    return 1;
}
You can a add more messages, and no other changes will be needed.
Reply
#5

Quote:
Originally Posted by wups
Посмотреть сообщение
"Its not quite how you would expect a random message system to be."
Its worse.

pawn Код:
new RandomMSG[][] =
{
    "[Info] Message!",
    "[Info] Also a message",
    "[Info] LastMessage!"
};
public OnFilterScriptInit() return SetTimer("SendMSG",10000,false);
public SendMSG()
{
    SendClientMessageToAll(0xFFFFFFFF, RandomMSG[random(sizeof(RandomMSG))]);
    return 1;
}
You can a add more messages, and no other changes will be needed.
LMAO.
If this is your first FS then good job, I guess?
Reply
#6

you can upload a picture to convince?
Reply
#7

Nah. Its not my first FS. I could easily make a admin system. Im just not good with arrays.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)