SA-MP Forums Archive
[FilterScript] Odyssey Messages. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Odyssey Messages. (/showthread.php?tid=280949)



-delete- - Odyssey - 03.09.2011

-delete-


Re: Odyssey Messages. - seanny - 03.09.2011

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.



Re: Odyssey Messages. - Odyssey - 03.09.2011

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

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


Re: Odyssey Messages. - wups - 03.09.2011

"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.


Re: Odyssey Messages. - FireCat - 03.09.2011

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?


Respuesta: Odyssey Messages. - Manuel7284 - 03.09.2011

you can upload a picture to convince?


Re: Odyssey Messages. - Odyssey - 04.09.2011

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