arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random messaging Text Draw Filterscript i
#1
Wink 
hi I am sharing this filterscript its different type of text draw message 
check this i have no pictures i am sure you will like it test it and like it thank you


here is code copy and compile it

// ...... ...... ...... ...... ..... ...... .... ..     . ....
// .      .      .    . .    . .     .      .... .  .   . ....
// ...... ...                 made by Alex_Roy )
// .           . .      ....   .          . .... .    . . ....
// ...... ...... .      .    . ..... ...... .... .     .. ....

#include <a_samp>

new Text:RandomBox1;
new Text:RandomBox0;

forward ServerMessage();

new Textdraws[][] =
{
/// here you can edit these line as you want///
    "~p~   ~w~/t /m /help /rule /credits /cmds",
    "~p~   ~w~Can play cops and robbers /minigames",
    "~p~   ~w~You Can Inform us About Cheater /report",
    "~p~   ~w~If You Want to know Admin list do /admins",
    "~p~   ~w~Want To Play Deathmatch do /dm ",
    "~p~   ~w~Need Money do stunts and play games /minigames",
    "~p~   ~w~If You are Aware Of Rules do /rules",
    "~p~   ~w~Wanna Check Out Online Vips List /vips",
    "~p~   ~w~Register Is Must  /reigster",
    "~p~   ~w~Use /v To Spawn Your Vehicle",
    "~p~   ~w~Buy A own Vehicle do /wang or /pvshop",
    "~p~   ~w~If You Want To Add Your Favoruite Music do /music",
    "~p~   ~w~There Are Animations /anims",
    "~p~   ~w~Type /god to enable your Godmode",
    "~p~   ~w~There Are Derby Match do /derby",
    "~p~   ~w~Our Forum Will be Soon",
    "~p~   ~w~Have A Nice Day Friends",
    "~p~   ~w~Admin Looking For A Vip Players",
    "~p~   ~w~Play Team Deathmatch /tdm",
    "~p~   ~w~Need Score Play Games /Minigames",
    "~p~   ~w~Dont Ask For Admin Level",
    "~p~   ~w~Server Will Going To Be Hosted Tab Coming Soon",
    "~p~   ~w~IF You Like This Server Add It On Favourite Bar"



};

public ServerMessage()
{
        TextDrawSetString(RandomBox1, Textdraws[random(sizeof(Textdraws))]);

        return 1;
}

public OnFilterScriptInit()
{
//----------------------------------------------------------------------------//
    SetTimer("ServerMessage",10000,1);
//----------------------------------------------------------------------------//
    RandomBox0 = TextDrawCreate(150.000000, 2.000000, "/DM./DERBY./FALL./GANGWAR./TDM./ZOMBIE./RACE./SHOOTER");
    TextDrawLetterSize(RandomBox0, 0.300000, 1.000000);
    TextDrawTextSize(RandomBox0, 10.000000, 0.000000);
    TextDrawAlignment(RandomBox0, 1);
    TextDrawColor(RandomBox0, 0x33CCFFAA);
    TextDrawUseBox(RandomBox0, true);
    TextDrawBoxColor(RandomBox0, 0xFFFF00AA);
    TextDrawSetShadow(RandomBox0, 1);
    TextDrawSetOutline(RandomBox0, 1);
    TextDrawFont(RandomBox0, 3);


    RandomBox1 = TextDrawCreate(9.000000, 80.000000, "String");
    TextDrawLetterSize(RandomBox1, 0.300000, 1.000000);
    TextDrawAlignment(RandomBox1, 1);
    TextDrawColor(RandomBox1, -16711681);
    TextDrawSetShadow(RandomBox1, 1);
    TextDrawSetOutline(RandomBox1, 1);
    TextDrawBackgroundColor(RandomBox1, 255);
    TextDrawFont(RandomBox1, 3);
    TextDrawSetProportional(RandomBox1, 1);





    for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, RandomBox0);
    TextDrawShowForPlayer(i, RandomBox1);
}
}
return 1;
}

public OnFilterScriptExit()
{
TextDrawHideForAll(RandomBox1);
TextDrawDestroy(RandomBox1);
TextDrawHideForAll(RandomBox0);
TextDrawDestroy(RandomBox0);
return 1;
}

public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, RandomBox0);
TextDrawShowForPlayer(playerid, RandomBox1);
return 1;
}


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting