28.03.2014, 18:37
Hello everyone I bring you this little filter script done by me only fun, and do not have much a say about her but she has only two commands are they /texton and /textoff otherwise the rest you will see in this image the topic
-Info :
pawn Код:
/*
FS - Logo Samp 0.3z
=============================
Made By : Diogo123
Nick Samp : [Gv]Tw0.P4c___.
=============================
Date:28/03/2014
Aggregated commands: 02
/TextOn
/TextOff
(If lag occurs if many texts ..)
*Details: I know there is already an fs of this genus
wanted to put my before they speak what is plagiarism ._.
*Important:I also know that is not that great but has a job and it was fun to do.
Other credits : Zeex ( Zcmd )
*/
pawn Код:
//Code
#include "a_samp"
#include "zcmd"
new Text:Textdraw0,Text:Textdraw1,Text:Textdraw2,Text:Textdraw3, Text:Textdraw4, Text:Textdraw5, Text:Textdraw6, Text:Textdraw7, Text:Textdraw8, Text:Textdraw9,Text:Textdraw10, Text:Textdraw11;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(488.000000, 307.000000, "S");
TextDrawBackgroundColor(Textdraw0, -1);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.679998, 2.099999);
TextDrawColor(Textdraw0, 255);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetSelectable(Textdraw0, 0);
Textdraw1 = TextDrawCreate(506.000000, 295.000000, "a");
TextDrawBackgroundColor(Textdraw1, -1);
TextDrawFont(Textdraw1, 0);
TextDrawLetterSize(Textdraw1, 0.589999, 2.700000);
TextDrawColor(Textdraw1, 255);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetSelectable(Textdraw1, 0);
Textdraw2 = TextDrawCreate(516.000000, 295.000000, "n");
TextDrawBackgroundColor(Textdraw2, -1);
TextDrawFont(Textdraw2, 0);
TextDrawLetterSize(Textdraw2, 0.599999, 2.200000);
TextDrawColor(Textdraw2, 255);
TextDrawSetOutline(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetSelectable(Textdraw2, 0);
Textdraw3 = TextDrawCreate(526.000000, 292.000000, "A");
TextDrawBackgroundColor(Textdraw3, -1);
TextDrawFont(Textdraw3, 0);
TextDrawLetterSize(Textdraw3, 0.529999, 2.099999);
TextDrawColor(Textdraw3, 255);
TextDrawSetOutline(Textdraw3, 1);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetSelectable(Textdraw3, 0);
Textdraw4 = TextDrawCreate(542.000000, 293.000000, "n");
TextDrawBackgroundColor(Textdraw4, -1);
TextDrawFont(Textdraw4, 0);
TextDrawLetterSize(Textdraw4, 0.599999, 2.200000);
TextDrawColor(Textdraw4, 255);
TextDrawSetOutline(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetSelectable(Textdraw4, 0);
Textdraw5 = TextDrawCreate(553.000000, 299.000000, "d");
TextDrawBackgroundColor(Textdraw5, -1);
TextDrawFont(Textdraw5, 0);
TextDrawLetterSize(Textdraw5, 0.689998, 1.600000);
TextDrawColor(Textdraw5, 255);
TextDrawSetOutline(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetSelectable(Textdraw5, 0);
Textdraw6 = TextDrawCreate(564.000000, 299.000000, "r");
TextDrawBackgroundColor(Textdraw6, -1);
TextDrawFont(Textdraw6, 0);
TextDrawLetterSize(Textdraw6, 0.609999, 1.899999);
TextDrawColor(Textdraw6, 255);
TextDrawSetOutline(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetSelectable(Textdraw6, 0);
Textdraw7 = TextDrawCreate(574.000000, 299.000000, "e");
TextDrawBackgroundColor(Textdraw7, -1);
TextDrawFont(Textdraw7, 0);
TextDrawLetterSize(Textdraw7, 0.599999, 2.299999);
TextDrawColor(Textdraw7, 255);
TextDrawSetOutline(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetSelectable(Textdraw7, 0);
Textdraw8 = TextDrawCreate(583.000000, 304.000000, "a");
TextDrawBackgroundColor(Textdraw8, -1);
TextDrawFont(Textdraw8, 0);
TextDrawLetterSize(Textdraw8, 0.609999, 2.199999);
TextDrawColor(Textdraw8, 255);
TextDrawSetOutline(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetSelectable(Textdraw8, 0);
Textdraw9 = TextDrawCreate(594.000000, 311.000000, "s");
TextDrawBackgroundColor(Textdraw9, -1);
TextDrawFont(Textdraw9, 0);
TextDrawLetterSize(Textdraw9, 0.609999, 1.700000);
TextDrawColor(Textdraw9, 255);
TextDrawSetOutline(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetSelectable(Textdraw9, 0);
Textdraw10 = TextDrawCreate(501.000000, 320.000000, "Multiplayer");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 1);
TextDrawLetterSize(Textdraw10, 0.490000, 3.199999);
TextDrawColor(Textdraw10, -10288897);
TextDrawSetOutline(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetSelectable(Textdraw10, 0);
Textdraw11 = TextDrawCreate(525.000000, 348.000000, "0.3z");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.470000, 2.400000);
TextDrawColor(Textdraw11, 257556479);
TextDrawSetOutline(Textdraw11, 1);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetSelectable(Textdraw11, 0);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
TextDrawShowForPlayer(i, Textdraw2);
TextDrawShowForPlayer(i, Textdraw3);
TextDrawShowForPlayer(i, Textdraw4);
TextDrawShowForPlayer(i, Textdraw5);
TextDrawShowForPlayer(i, Textdraw6);
TextDrawShowForPlayer(i, Textdraw7);
TextDrawShowForPlayer(i, Textdraw8);
TextDrawShowForPlayer(i, Textdraw9);
TextDrawShowForPlayer(i, Textdraw10);
TextDrawShowForPlayer(i, Textdraw11);
}
}
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawHideForPlayer(playerid, Textdraw8);
TextDrawHideForPlayer(playerid, Textdraw9);
TextDrawHideForPlayer(playerid, Textdraw10);
TextDrawHideForPlayer(playerid, Textdraw11);
return 1;
}
public OnGameModeExit()
{
TextDrawHideForAll(Textdraw0); TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2); TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3); TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4); TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5); TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6); TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7); TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw8); TextDrawDestroy(Textdraw8);
TextDrawHideForAll(Textdraw9); TextDrawDestroy(Textdraw9);
TextDrawHideForAll(Textdraw10); TextDrawDestroy(Textdraw10);
TextDrawHideForAll(Textdraw11); TextDrawDestroy(Textdraw11);
return 1;
}
CMD:texton(playerid, params[])
{
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Text Created!");
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
return 1;
}
CMD:textoff(playerid, params[])
{
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Text Removed!");
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawHideForPlayer(playerid, Textdraw8);
TextDrawHideForPlayer(playerid, Textdraw9);
TextDrawHideForPlayer(playerid, Textdraw10);
TextDrawHideForPlayer(playerid, Textdraw11);
return 1;
}
-Image :
- who will use a good use!