Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Filterscript generated using Zamaroht's TextDraw Editor Version 1.0.
- Designed for SA-MP 0.3a.
- Time and Date: 2012-11-24 @ 11:23:24
- 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;
- new Text:Textdraw7;
- new Text:Textdraw8;
- public OnFilterScriptInit()
- {
- print("Textdraw file generated by");
- print(" Zamaroht's textdraw editor was loaded.");
- // Create the textdraws:
- Textdraw0 = TextDrawCreate(642.000000, 1.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 1);
- TextDrawLetterSize(Textdraw0, 0.500000, 7.799999);
- TextDrawColor(Textdraw0, -1);
- TextDrawSetOutline(Textdraw0, 0);
- TextDrawSetProportional(Textdraw0, 1);
- TextDrawSetShadow(Textdraw0, 1);
- TextDrawUseBox(Textdraw0, 1);
- TextDrawBoxColor(Textdraw0, 85);
- TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
- Textdraw1 = TextDrawCreate(642.000000, 322.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Textdraw1, 1);
- TextDrawLetterSize(Textdraw1, 0.500000, 6.899999);
- TextDrawColor(Textdraw1, -1);
- TextDrawSetOutline(Textdraw1, 0);
- TextDrawSetProportional(Textdraw1, 1);
- TextDrawSetShadow(Textdraw1, 1);
- TextDrawUseBox(Textdraw1, 1);
- TextDrawBoxColor(Textdraw1, 85);
- TextDrawTextSize(Textdraw1, -2.000000, 0.000000);
- Textdraw2 = TextDrawCreate(642.000000, 140.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw2, 255);
- TextDrawFont(Textdraw2, 1);
- TextDrawLetterSize(Textdraw2, 0.500000, -0.200000);
- TextDrawColor(Textdraw2, -1);
- TextDrawSetOutline(Textdraw2, 0);
- TextDrawSetProportional(Textdraw2, 1);
- TextDrawSetShadow(Textdraw2, 1);
- TextDrawUseBox(Textdraw2, 1);
- TextDrawBoxColor(Textdraw2, 14548991);
- TextDrawTextSize(Textdraw2, -2.000000, 0.000000);
- Textdraw3 = TextDrawCreate(642.000000, 327.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw3, 255);
- TextDrawFont(Textdraw3, 1);
- TextDrawLetterSize(Textdraw3, 0.500000, -0.200000);
- TextDrawColor(Textdraw3, -1);
- TextDrawSetOutline(Textdraw3, 0);
- TextDrawSetProportional(Textdraw3, 1);
- TextDrawSetShadow(Textdraw3, 1);
- TextDrawUseBox(Textdraw3, 1);
- TextDrawBoxColor(Textdraw3, 14548991);
- TextDrawTextSize(Textdraw3, -2.000000, 0.000000);
- Textdraw4 = TextDrawCreate(227.000000, 122.000000, "Spectating: Sanady");
- TextDrawBackgroundColor(Textdraw4, 255);
- TextDrawFont(Textdraw4, 3);
- TextDrawLetterSize(Textdraw4, 0.500000, 1.000000);
- TextDrawColor(Textdraw4, -1);
- TextDrawSetOutline(Textdraw4, 1);
- TextDrawSetProportional(Textdraw4, 1);
- Textdraw5 = TextDrawCreate(642.000000, 117.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw5, 255);
- TextDrawFont(Textdraw5, 1);
- TextDrawLetterSize(Textdraw5, 0.500000, -0.200000);
- TextDrawColor(Textdraw5, -1);
- TextDrawSetOutline(Textdraw5, 0);
- TextDrawSetProportional(Textdraw5, 1);
- TextDrawSetShadow(Textdraw5, 1);
- TextDrawUseBox(Textdraw5, 1);
- TextDrawBoxColor(Textdraw5, 14548991);
- TextDrawTextSize(Textdraw5, -2.000000, 0.000000);
- Textdraw6 = TextDrawCreate(642.000000, 352.000000, "New Textdraw");
- TextDrawBackgroundColor(Textdraw6, 255);
- TextDrawFont(Textdraw6, 1);
- TextDrawLetterSize(Textdraw6, 0.500000, -0.200000);
- TextDrawColor(Textdraw6, -1);
- TextDrawSetOutline(Textdraw6, 0);
- TextDrawSetProportional(Textdraw6, 1);
- TextDrawSetShadow(Textdraw6, 1);
- TextDrawUseBox(Textdraw6, 1);
- TextDrawBoxColor(Textdraw6, 14548991);
- TextDrawTextSize(Textdraw6, -2.000000, 0.000000);
- Textdraw7 = TextDrawCreate(180.000000, 332.000000, "Clicking by ~r~right ~w~or ~g~left ~w~click you will spectate other player");
- TextDrawBackgroundColor(Textdraw7, 255);
- TextDrawFont(Textdraw7, 3);
- TextDrawLetterSize(Textdraw7, 0.240000, 1.000000);
- TextDrawColor(Textdraw7, -1);
- TextDrawSetOutline(Textdraw7, 1);
- TextDrawSetProportional(Textdraw7, 1);
- Textdraw8 = TextDrawCreate(568.000000, 439.000000, "(o) Design by Sanady");
- TextDrawBackgroundColor(Textdraw8, 255);
- TextDrawFont(Textdraw8, 3);
- TextDrawLetterSize(Textdraw8, 0.190000, 0.699999);
- TextDrawColor(Textdraw8, -1);
- TextDrawSetOutline(Textdraw8, 1);
- TextDrawSetProportional(Textdraw8, 1);
- 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);
- }
- }
- 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);
- TextDrawHideForAll(Textdraw7);
- TextDrawDestroy(Textdraw7);
- TextDrawHideForAll(Textdraw8);
- TextDrawDestroy(Textdraw8);
- return 1;
- }
- public OnPlayerConnect(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);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement