SA-MP Forums Archive
[FilterScript] Random Message and Rules - 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] Random Message and Rules (/showthread.php?tid=327197)



Random Message and Rules - Kudoz - 20.03.2012

Here is a little Random Message. The timer is on 30000 ms, but you can edit it if you want [ofcourse]

DOWNLOAD

PASTEBIN = http://pastebin.com/YcJb71DZ

.PWN = http://www.mediafire.com/?54pbpy8fmjs655m

.AMX = http://www.mediafire.com/?grc3kc62b3ry351


Here is the Rules in a Dialog. They either have to Accept or Decline. If they Decline, they will be kicked with the 'SendClientMessage' "no? Then this server aint for you boi.''

PASTEBIN = http://pastebin.com/CensZtY0

If you want AMX and/or PWN, PM me!

C'ya till next time!

- Kudoz


Re: Little 'snippet' RandomMSG - Eiy Mard - 20.03.2012

hey .. have screenshots ?


Re: Random Message and Rules - Kudoz - 20.03.2012

I'' add after I come home!
btw, I'm Cir.Cuz in DGZ! hey E-Mard


Re: Random Message and Rules - Kudoz - 20.03.2012

EDIT ON TOPIC: THIS ALSO INCLUDES RULES DIALOG!

I will add screenies later.


Re: Random Message and Rules - Twisted_Insane - 20.03.2012

Lol, you really are describing this as Filterscript? That's pity! Making a "rules"-command and random messages doesn't even need an irrelevant Filterscript! Look into my signature, I've made a tutorial which is WAY more simple than this unnecessary FS! And then you're expecting from anyone reputation?


Re: Random Message and Rules - Eiy Mard - 20.03.2012

ohh .. nice bro .... good job !


Re: Random Message and Rules - Kaczmi - 20.03.2012

Sends a message only ID0 ....


Re: Random Message and Rules - Kudoz - 20.03.2012

Twisted.. I'm not asking for any reputation. Only If I helped people, example when I help 'em in "Scripting Discussion".


Re: Random Message and Rules - WLSF - 20.03.2012

Other simple way to do this...
It's randomize the message, and you can put more lines message without create others callbacks
pawn Код:
new msgAll[3][100] = {
    {".::Hello, welcome to my Server! Have Fun!::.."},
    {"Add Us to your favourites! IP: Your.IP.Here    ."},
    {"Rules: no Hacking!HACK = BAN! behave to admins! Respect other players."}
};
public OnGameModeInit()
{
    SetTimer("Inutils", 2000, true);
    return 1;
}

forward Inutils();
public Inutils()
{
    new str[128], wiiR = random(sizeof(msgAll));
    format(str, 100, "%s", msgAll[wiiR]);
    SendClientMessageToAll(-1, str);
    return 1;
}



Re: Random Message and Rules - petrolhead - 20.03.2012

I like that rules box.
But random messages are simple.