SA-MP Forums Archive
[Include] Server Announcements - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Server Announcements (/showthread.php?tid=295354)



Server Announcements - Drew123 - 05.11.2011

This is a thing you copy and paste into the GM:

PHP код:
#include <a_samp>
public OnFilterScriptInit()
{
        
SetTimer("SendRandomMsgToAll"250 10001);
        return 
1;
}
 
forward SendRandomMsgToAll();
public 
SendRandomMsgToAll()
{
        switch(
random(8))
        {                                                  
                case 
0SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
1SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
2SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
3SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
4SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
5SendClientMessageToAll(0xFF66FFAA" TEXT HERE");
                case 
6SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
                case 
7SendClientMessageToAll(0xFF66FFAA"TEXT HERE");
        }

Now the (0xFF66FFAA Is a color so you can change the color of the text here: www.colorpicker.com

Copy It Here: http://pastebin.com/B6qSLNLy

Copy Right, Inception Roleplay



AW: Server Announcements - BigETI - 05.11.2011

This is not a proper include so the tag on your topic doesn't make any sence.

P.S.: Stop using php highlightings on any PAWN codes. Use the damn [pawn] bb code instead.


Re: Server Announcements - SpiderWalk - 05.11.2011

Nice nice if you are beginner


Re: Server Announcements - Drew123 - 05.11.2011

Quote:
Originally Posted by SpiderWalk
Посмотреть сообщение
Nice nice if you are beginner
Thanks i am a beginner its my first one


Re: Server Announcements - Biesmen - 05.11.2011

Very nice copy and paste skills, you rock.
https://sampforum.blast.hk/showthread.php?tid=294268


Re: Server Announcements - Drew123 - 06.11.2011

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Very nice copy and paste skills, you rock.
Lol no


AW: Re: Server Announcements - BigETI - 06.11.2011

Lol

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");
    }
}
New 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, "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");
        }
}



Re: Server Announcements - Fool - 06.11.2011

And the old one was copied from a gamemode. wow just wow.


AW: Server Announcements - BigETI - 06.11.2011

Copy the copied copy?


AW: Server Announcements - Babul - 06.11.2011

thats called a zoo. copycat+copycatcopycat+copycatcopycatcopycat=
catattack=
[ame]http://www.youtube.com/watch?v=Hul4pJo_z-8&feature=related[/ame]
edit: orly?
[ame]http://www.youtube.com/watch?v=VNJdr209ggQ&feature=results_video&playnext =1&list=PLE0E22D8AB758B81B[/ame]
[ame]http://www.youtube.com/watch?v=IzPRSk0Y0Q0[/ame]
[ame]http://www.youtube.com/watch?v=o4GNepioKxM&NR=1[/ame]