06.11.2011, 01:05
Lol
Earlier one:
New one:
Earlier one:
pawn Код:
#include <a_samp>
public OnFilterScriptInit()
{
SetTimer("SendRandomMsgToAll", 250 * 1000, 1);
return 1;
}
forward SendRandomMsgToAll();
public SendRandomMsgToAll()
{
switch(random(8))
{
case 0: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 1: SendClientMessageToAll(0xFF66FFAA, "MORE TEXT");
case 2: SendClientMessageToAll(0xFF66FFAA, "MORE RANDOM TEXT");
case 3: SendClientMessageToAll(0xFF66FFAA, "ANNOUNCEMENT");
case 4: SendClientMessageToAll(0xFF66FFAA, "MORE RANDOM GARBAGE");
case 5: SendClientMessageToAll(0xFF66FFAA, " U MAD? ");
case 6: SendClientMessageToAll(0xFF66FFAA, "SOME MORE SERVER SPAM");
case 7: SendClientMessageToAll(0xFF66FFAA, "RANDOM MESSAGE");
}
}
pawn Код:
#include <a_samp>
public OnFilterScriptInit()
{
SetTimer("SendRandomMsgToAll", 250 * 1000, 1);
return 1;
}
forward SendRandomMsgToAll();
public SendRandomMsgToAll()
{
switch(random(8))
{
case 0: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 1: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 2: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 3: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 4: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 5: SendClientMessageToAll(0xFF66FFAA, " TEXT HERE");
case 6: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
case 7: SendClientMessageToAll(0xFF66FFAA, "TEXT HERE");
}
}