Advertisement
Guest User

Untitled

a guest
Oct 19th, 2010
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 5.62 KB | None | 0 0
  1. /*
  2. Filterscript generated using Zamaroht's TextDraw Editor Version 1.0.
  3. Designed for SA-MP 0.3a.
  4.  
  5. Time and Date: 2010-10-19 @ 21:38:46
  6.  
  7. Instructions:
  8. 1- Compile this file using the compiler provided with the sa-mp server package.
  9. 2- Copy the .amx file to the filterscripts directory.
  10. 3- Add the filterscripts in the server.cfg file (more info here:
  11. http://wiki.sa-mp.com/wiki/Server.cfg)
  12. 4- Run the server!
  13.  
  14. Disclaimer:
  15. You have full rights over this file. You can distribute it, modify it, and
  16. change it as much as you want, without having to give any special credits.
  17. */
  18.  
  19. #include <a_samp>
  20.  
  21. new Text:Textdraw0;
  22. new Text:Textdraw1;
  23. new Text:Textdraw2;
  24. new Text:Textdraw3;
  25. new Text:Textdraw4;
  26. new Text:Textdraw5;
  27. new Text:Textdraw6;
  28. new Text:Textdraw7;
  29. new Text:Textdraw8;
  30.  
  31. public OnFilterScriptInit()
  32. {
  33.     print("Textdraw file generated by");
  34.     print("    Zamaroht's textdraw editor was loaded.");
  35.  
  36.     // Create the textdraws:
  37.     Textdraw0 = TextDrawCreate(509.000000, 409.000000, "_");
  38.     TextDrawBackgroundColor(Textdraw0, -16711681);
  39.     TextDrawFont(Textdraw0, 1);
  40.     TextDrawLetterSize(Textdraw0, 0.500000, -19.000000);
  41.     TextDrawColor(Textdraw0, -1);
  42.     TextDrawSetOutline(Textdraw0, 1);
  43.     TextDrawSetProportional(Textdraw0, 1);
  44.     TextDrawUseBox(Textdraw0, 1);
  45.     TextDrawBoxColor(Textdraw0, 100);
  46.     TextDrawTextSize(Textdraw0, 605.000000, 30.000000);
  47.  
  48.     Textdraw1 = TextDrawCreate(599.000000, 254.000000, "_");
  49.     TextDrawBackgroundColor(Textdraw1, 255);
  50.     TextDrawFont(Textdraw1, 1);
  51.     TextDrawLetterSize(Textdraw1, 0.800000, 4.000000);
  52.     TextDrawColor(Textdraw1, -1);
  53.     TextDrawSetOutline(Textdraw1, 0);
  54.     TextDrawSetProportional(Textdraw1, 1);
  55.     TextDrawSetShadow(Textdraw1, 1);
  56.     TextDrawUseBox(Textdraw1, 1);
  57.     TextDrawBoxColor(Textdraw1, -1798681089);
  58.     TextDrawTextSize(Textdraw1, 517.000000, 0.000000);
  59.  
  60.     Textdraw2 = TextDrawCreate(518.000000, 306.000000, "1   2   3");
  61.     TextDrawBackgroundColor(Textdraw2, 255);
  62.     TextDrawFont(Textdraw2, 1);
  63.     TextDrawLetterSize(Textdraw2, 0.519999, 1.800000);
  64.     TextDrawColor(Textdraw2, -1);
  65.     TextDrawSetOutline(Textdraw2, 0);
  66.     TextDrawSetProportional(Textdraw2, 1);
  67.     TextDrawSetShadow(Textdraw2, 1);
  68.  
  69.     Textdraw3 = TextDrawCreate(518.000000, 332.000000, "4   5   6");
  70.     TextDrawBackgroundColor(Textdraw3, 255);
  71.     TextDrawFont(Textdraw3, 1);
  72.     TextDrawLetterSize(Textdraw3, 0.490000, 1.800000);
  73.     TextDrawColor(Textdraw3, -1);
  74.     TextDrawSetOutline(Textdraw3, 0);
  75.     TextDrawSetProportional(Textdraw3, 1);
  76.     TextDrawSetShadow(Textdraw3, 1);
  77.  
  78.     Textdraw4 = TextDrawCreate(518.000000, 357.000000, "7   8   9");
  79.     TextDrawBackgroundColor(Textdraw4, 255);
  80.     TextDrawFont(Textdraw4, 1);
  81.     TextDrawLetterSize(Textdraw4, 0.490000, 1.800000);
  82.     TextDrawColor(Textdraw4, -1);
  83.     TextDrawSetOutline(Textdraw4, 0);
  84.     TextDrawSetProportional(Textdraw4, 1);
  85.     TextDrawSetShadow(Textdraw4, 1);
  86.  
  87.     Textdraw5 = TextDrawCreate(519.000000, 380.000000, "+   0   #");
  88.     TextDrawBackgroundColor(Textdraw5, 255);
  89.     TextDrawFont(Textdraw5, 1);
  90.     TextDrawLetterSize(Textdraw5, 0.490000, 1.800000);
  91.     TextDrawColor(Textdraw5, -1);
  92.     TextDrawSetOutline(Textdraw5, 0);
  93.     TextDrawSetProportional(Textdraw5, 1);
  94.     TextDrawSetShadow(Textdraw5, 1);
  95.  
  96.     Textdraw6 = TextDrawCreate(531.000000, 263.000000, "O");
  97.     TextDrawBackgroundColor(Textdraw6, 65535);
  98.     TextDrawFont(Textdraw6, 1);
  99.     TextDrawLetterSize(Textdraw6, 0.589999, 1.900000);
  100.     TextDrawColor(Textdraw6, -1);
  101.     TextDrawSetOutline(Textdraw6, 0);
  102.     TextDrawSetProportional(Textdraw6, 1);
  103.     TextDrawSetShadow(Textdraw6, 1);
  104.  
  105.     Textdraw7 = TextDrawCreate(540.000000, 260.000000, "2");
  106.     TextDrawBackgroundColor(Textdraw7, 65535);
  107.     TextDrawFont(Textdraw7, 1);
  108.     TextDrawLetterSize(Textdraw7, 0.400000, 1.000000);
  109.     TextDrawColor(Textdraw7, -1);
  110.     TextDrawSetOutline(Textdraw7, 0);
  111.     TextDrawSetProportional(Textdraw7, 1);
  112.     TextDrawSetShadow(Textdraw7, 1);
  113.  
  114.     Textdraw8 = TextDrawCreate(561.000000, 253.000000, "AKKU IIIII");
  115.     TextDrawBackgroundColor(Textdraw8, 255);
  116.     TextDrawFont(Textdraw8, 1);
  117.     TextDrawLetterSize(Textdraw8, 0.220000, 0.799999);
  118.     TextDrawColor(Textdraw8, -1);
  119.     TextDrawSetOutline(Textdraw8, 0);
  120.     TextDrawSetProportional(Textdraw8, 1);
  121.     TextDrawSetShadow(Textdraw8, 0);
  122.  
  123.     for(new i; i < MAX_PLAYERS; i ++)
  124.     {
  125.         if(IsPlayerConnected(i))
  126.         {
  127.             TextDrawShowForPlayer(i, Textdraw0);
  128.             TextDrawShowForPlayer(i, Textdraw1);
  129.             TextDrawShowForPlayer(i, Textdraw2);
  130.             TextDrawShowForPlayer(i, Textdraw3);
  131.             TextDrawShowForPlayer(i, Textdraw4);
  132.             TextDrawShowForPlayer(i, Textdraw5);
  133.             TextDrawShowForPlayer(i, Textdraw6);
  134.             TextDrawShowForPlayer(i, Textdraw7);
  135.             TextDrawShowForPlayer(i, Textdraw8);
  136.         }
  137.     }
  138.     return 1;
  139. }
  140.  
  141. public OnFilterScriptExit()
  142. {
  143.     TextDrawHideForAll(Textdraw0);
  144.     TextDrawDestroy(Textdraw0);
  145.     TextDrawHideForAll(Textdraw1);
  146.     TextDrawDestroy(Textdraw1);
  147.     TextDrawHideForAll(Textdraw2);
  148.     TextDrawDestroy(Textdraw2);
  149.     TextDrawHideForAll(Textdraw3);
  150.     TextDrawDestroy(Textdraw3);
  151.     TextDrawHideForAll(Textdraw4);
  152.     TextDrawDestroy(Textdraw4);
  153.     TextDrawHideForAll(Textdraw5);
  154.     TextDrawDestroy(Textdraw5);
  155.     TextDrawHideForAll(Textdraw6);
  156.     TextDrawDestroy(Textdraw6);
  157.     TextDrawHideForAll(Textdraw7);
  158.     TextDrawDestroy(Textdraw7);
  159.     TextDrawHideForAll(Textdraw8);
  160.     TextDrawDestroy(Textdraw8);
  161.     return 1;
  162. }
  163.  
  164. public OnPlayerConnect(playerid)
  165. {
  166.     TextDrawShowForPlayer(playerid, Textdraw0);
  167.     TextDrawShowForPlayer(playerid, Textdraw1);
  168.     TextDrawShowForPlayer(playerid, Textdraw2);
  169.     TextDrawShowForPlayer(playerid, Textdraw3);
  170.     TextDrawShowForPlayer(playerid, Textdraw4);
  171.     TextDrawShowForPlayer(playerid, Textdraw5);
  172.     TextDrawShowForPlayer(playerid, Textdraw6);
  173.     TextDrawShowForPlayer(playerid, Textdraw7);
  174.     TextDrawShowForPlayer(playerid, Textdraw8);
  175.     return 1;
  176. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement