[Include] Server Announcements
#1

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
Reply
#2

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.
Reply
#3

Nice nice if you are beginner
Reply
#4

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

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

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

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");
        }
}
Reply
#8

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

Copy the copied copy?
Reply
#10

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]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)