Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ================================================================================
- Filterscript generated using Madon Gangsta TextDraw Editor Version 2012.
- Designed for SA-MP 0.3b.
- ================================================================================
- Time and Date: 2012-2-28 @ 11:42:4
- Instructions:
- 1- Compile this file using the compiler provided with the sa-mp server package.
- 2- Copy the .amx file to the filterscripts directory.
- 3- Add the filterscripts in the server.cfg file (more info here:
- http://wiki.sa-mp.com/wiki/Server.cfg)
- 4- Run the server!
- Disclaimer:
- You have full rights over this file. You can distribute it, modify it, and
- change it as much as you want, without having to give any special credits.
- */
- #include <a_samp>
- new Text:Textdraw0;
- new Text:Textdraw1;
- new Text:Textdraw2;
- new Text:Textdraw3;
- new Text:Textdraw4;
- new Text:Textdraw5;
- new Text:Textdraw6;
- public OnFilterScriptInit()
- {
- print("Textdraw file generated by");
- print(" Zamaroht's textdraw editor was loaded.");
- // Create the textdraws:
- Textdraw0 = TextDrawCreate(680.000000, -52.000000, "BOX");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 1);
- TextDrawLetterSize(Textdraw0, 2.799999, 21.100000);
- TextDrawColor(Textdraw0, -1);
- TextDrawSetOutline(Textdraw0, 0);
- TextDrawSetProportional(Textdraw0, 1);
- TextDrawSetShadow(Textdraw0, 1);
- TextDrawUseBox(Textdraw0, 1);
- TextDrawBoxColor(Textdraw0, 255);
- TextDrawTextSize(Textdraw0, -320.000000, -300.000000);
- Textdraw1 = TextDrawCreate(1493.000000, 366.000000, "BOX");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Textdraw1, 1);
- TextDrawLetterSize(Textdraw1, 4.209998, 25.100000);
- TextDrawColor(Textdraw1, -1);
- TextDrawSetOutline(Textdraw1, 0);
- TextDrawSetProportional(Textdraw1, 1);
- TextDrawSetShadow(Textdraw1, 1);
- TextDrawUseBox(Textdraw1, 1);
- TextDrawBoxColor(Textdraw1, 255);
- TextDrawTextSize(Textdraw1, -90.000000, 0.000000);
- Textdraw2 = TextDrawCreate(430.000000, 369.000000, "By:Madon Gangsta");
- TextDrawBackgroundColor(Textdraw2, -65281);
- TextDrawFont(Textdraw2, 0);
- TextDrawLetterSize(Textdraw2, 0.750000, 4.000000);
- TextDrawColor(Textdraw2, 255);
- TextDrawSetOutline(Textdraw2, 1);
- TextDrawSetProportional(Textdraw2, 1);
- Textdraw3 = TextDrawCreate(510.000000, 150.000000, "Welcome");
- TextDrawBackgroundColor(Textdraw3, -16711681);
- TextDrawFont(Textdraw3, 3);
- TextDrawLetterSize(Textdraw3, 0.790000, 4.000000);
- TextDrawColor(Textdraw3, 16777215);
- TextDrawSetOutline(Textdraw3, 1);
- TextDrawSetProportional(Textdraw3, 1);
- Textdraw4 = TextDrawCreate(480.000000, 41.000000, "US SERVER ]");
- TextDrawBackgroundColor(Textdraw4, 255);
- TextDrawFont(Textdraw4, 0);
- TextDrawLetterSize(Textdraw4, 0.600000, 4.000000);
- TextDrawColor(Textdraw4, 65535);
- TextDrawSetOutline(Textdraw4, 0);
- TextDrawSetProportional(Textdraw4, 1);
- TextDrawSetShadow(Textdraw4, 1);
- Textdraw5 = TextDrawCreate(720.000000, 341.000000, "_");
- TextDrawBackgroundColor(Textdraw5, 255);
- TextDrawFont(Textdraw5, 0);
- TextDrawLetterSize(Textdraw5, 0.500000, 1.000000);
- TextDrawColor(Textdraw5, 16777215);
- TextDrawSetOutline(Textdraw5, 0);
- TextDrawSetProportional(Textdraw5, 1);
- TextDrawSetShadow(Textdraw5, 1);
- TextDrawUseBox(Textdraw5, 1);
- TextDrawBoxColor(Textdraw5, 65535);
- TextDrawTextSize(Textdraw5, -211.000000, 30.000000);
- Textdraw6 = TextDrawCreate(9.000000, 128.000000, "WWW.PAWNO-SCRIPTING.COM");
- TextDrawBackgroundColor(Textdraw6, 16711935);
- TextDrawFont(Textdraw6, 1);
- TextDrawLetterSize(Textdraw6, 0.500000, 1.000000);
- TextDrawColor(Textdraw6, 255);
- TextDrawSetOutline(Textdraw6, 1);
- TextDrawSetProportional(Textdraw6, 1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- 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);
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- TextDrawShowForPlayer(playerid, Textdraw0);
- TextDrawShowForPlayer(playerid, Textdraw1);
- TextDrawShowForPlayer(playerid, Textdraw2);
- TextDrawShowForPlayer(playerid, Textdraw3);
- TextDrawShowForPlayer(playerid, Textdraw4);
- TextDrawShowForPlayer(playerid, Textdraw5);
- TextDrawShowForPlayer(playerid, Textdraw6);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawHideForPlayer(playerid, Textdraw0);
- TextDrawHideForPlayer(playerid, Textdraw1);
- TextDrawHideForPlayer(playerid, Textdraw2);
- TextDrawHideForPlayer(playerid, Textdraw3);
- TextDrawHideForPlayer(playerid, Textdraw4);
- TextDrawHideForPlayer(playerid, Textdraw5);
- TextDrawHideForPlayer(playerid, Textdraw6);
- return 1;
- }
Add Comment
Please, Sign In to add comment