MadonGangsta

TextDraw Gangsta [Madon]

Sep 25th, 2012
988
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.10 KB | None | 0 0
  1.  
  2. /*
  3. ================================================================================
  4. Filterscript generated using Madon Gangsta TextDraw Editor Version 2012.
  5. Designed for SA-MP 0.3b.
  6. ================================================================================
  7. Time and Date: 2012-2-28 @ 11:42:4
  8.  
  9. Instructions:
  10. 1- Compile this file using the compiler provided with the sa-mp server package.
  11. 2- Copy the .amx file to the filterscripts directory.
  12. 3- Add the filterscripts in the server.cfg file (more info here:
  13. http://wiki.sa-mp.com/wiki/Server.cfg)
  14. 4- Run the server!
  15.  
  16. Disclaimer:
  17. You have full rights over this file. You can distribute it, modify it, and
  18. change it as much as you want, without having to give any special credits.
  19. */
  20.  
  21. #include <a_samp>
  22.  
  23. new Text:Textdraw0;
  24. new Text:Textdraw1;
  25. new Text:Textdraw2;
  26. new Text:Textdraw3;
  27. new Text:Textdraw4;
  28. new Text:Textdraw5;
  29. new Text:Textdraw6;
  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(680.000000, -52.000000, "BOX");
  38.    TextDrawBackgroundColor(Textdraw0, 255);
  39.    TextDrawFont(Textdraw0, 1);
  40.    TextDrawLetterSize(Textdraw0, 2.799999, 21.100000);
  41.    TextDrawColor(Textdraw0, -1);
  42.    TextDrawSetOutline(Textdraw0, 0);
  43.    TextDrawSetProportional(Textdraw0, 1);
  44.    TextDrawSetShadow(Textdraw0, 1);
  45.    TextDrawUseBox(Textdraw0, 1);
  46.    TextDrawBoxColor(Textdraw0, 255);
  47.    TextDrawTextSize(Textdraw0, -320.000000, -300.000000);
  48.  
  49.    Textdraw1 = TextDrawCreate(1493.000000, 366.000000, "BOX");
  50.    TextDrawBackgroundColor(Textdraw1, 255);
  51.    TextDrawFont(Textdraw1, 1);
  52.    TextDrawLetterSize(Textdraw1, 4.209998, 25.100000);
  53.    TextDrawColor(Textdraw1, -1);
  54.    TextDrawSetOutline(Textdraw1, 0);
  55.    TextDrawSetProportional(Textdraw1, 1);
  56.    TextDrawSetShadow(Textdraw1, 1);
  57.    TextDrawUseBox(Textdraw1, 1);
  58.    TextDrawBoxColor(Textdraw1, 255);
  59.    TextDrawTextSize(Textdraw1, -90.000000, 0.000000);
  60.  
  61.    Textdraw2 = TextDrawCreate(430.000000, 369.000000, "By:Madon Gangsta");
  62.    TextDrawBackgroundColor(Textdraw2, -65281);
  63.    TextDrawFont(Textdraw2, 0);
  64.    TextDrawLetterSize(Textdraw2, 0.750000, 4.000000);
  65.    TextDrawColor(Textdraw2, 255);
  66.    TextDrawSetOutline(Textdraw2, 1);
  67.    TextDrawSetProportional(Textdraw2, 1);
  68.  
  69.    Textdraw3 = TextDrawCreate(510.000000, 150.000000, "Welcome");
  70.    TextDrawBackgroundColor(Textdraw3, -16711681);
  71.    TextDrawFont(Textdraw3, 3);
  72.    TextDrawLetterSize(Textdraw3, 0.790000, 4.000000);
  73.    TextDrawColor(Textdraw3, 16777215);
  74.    TextDrawSetOutline(Textdraw3, 1);
  75.    TextDrawSetProportional(Textdraw3, 1);
  76.  
  77.    Textdraw4 = TextDrawCreate(480.000000, 41.000000, "US SERVER ]");
  78.    TextDrawBackgroundColor(Textdraw4, 255);
  79.    TextDrawFont(Textdraw4, 0);
  80.    TextDrawLetterSize(Textdraw4, 0.600000, 4.000000);
  81.    TextDrawColor(Textdraw4, 65535);
  82.    TextDrawSetOutline(Textdraw4, 0);
  83.    TextDrawSetProportional(Textdraw4, 1);
  84.    TextDrawSetShadow(Textdraw4, 1);
  85.  
  86.    Textdraw5 = TextDrawCreate(720.000000, 341.000000, "_");
  87.    TextDrawBackgroundColor(Textdraw5, 255);
  88.    TextDrawFont(Textdraw5, 0);
  89.    TextDrawLetterSize(Textdraw5, 0.500000, 1.000000);
  90.    TextDrawColor(Textdraw5, 16777215);
  91.    TextDrawSetOutline(Textdraw5, 0);
  92.    TextDrawSetProportional(Textdraw5, 1);
  93.    TextDrawSetShadow(Textdraw5, 1);
  94.    TextDrawUseBox(Textdraw5, 1);
  95.    TextDrawBoxColor(Textdraw5, 65535);
  96.    TextDrawTextSize(Textdraw5, -211.000000, 30.000000);
  97.  
  98.    Textdraw6 = TextDrawCreate(9.000000, 128.000000, "WWW.PAWNO-SCRIPTING.COM");
  99.    TextDrawBackgroundColor(Textdraw6, 16711935);
  100.    TextDrawFont(Textdraw6, 1);
  101.    TextDrawLetterSize(Textdraw6, 0.500000, 1.000000);
  102.    TextDrawColor(Textdraw6, 255);
  103.    TextDrawSetOutline(Textdraw6, 1);
  104.    TextDrawSetProportional(Textdraw6, 1);
  105.  
  106.    return 1;
  107. }
  108.  
  109. public OnFilterScriptExit()
  110. {
  111.    TextDrawHideForAll(Textdraw0);
  112.    TextDrawDestroy(Textdraw0);
  113.    TextDrawHideForAll(Textdraw1);
  114.    TextDrawDestroy(Textdraw1);
  115.    TextDrawHideForAll(Textdraw2);
  116.    TextDrawDestroy(Textdraw2);
  117.    TextDrawHideForAll(Textdraw3);
  118.    TextDrawDestroy(Textdraw3);
  119.    TextDrawHideForAll(Textdraw4);
  120.    TextDrawDestroy(Textdraw4);
  121.    TextDrawHideForAll(Textdraw5);
  122.    TextDrawDestroy(Textdraw5);
  123.    TextDrawHideForAll(Textdraw6);
  124.    TextDrawDestroy(Textdraw6);
  125.    return 1;
  126. }
  127.  
  128. public OnPlayerRequestClass(playerid, classid)
  129. {
  130.    TextDrawShowForPlayer(playerid, Textdraw0);
  131.    TextDrawShowForPlayer(playerid, Textdraw1);
  132.    TextDrawShowForPlayer(playerid, Textdraw2);
  133.    TextDrawShowForPlayer(playerid, Textdraw3);
  134.    TextDrawShowForPlayer(playerid, Textdraw4);
  135.    TextDrawShowForPlayer(playerid, Textdraw5);
  136.    TextDrawShowForPlayer(playerid, Textdraw6);
  137.    return 1;
  138. }
  139.  
  140. public OnPlayerSpawn(playerid)
  141. {
  142.    TextDrawHideForPlayer(playerid, Textdraw0);
  143.    TextDrawHideForPlayer(playerid, Textdraw1);
  144.    TextDrawHideForPlayer(playerid, Textdraw2);
  145.    TextDrawHideForPlayer(playerid, Textdraw3);
  146.    TextDrawHideForPlayer(playerid, Textdraw4);
  147.    TextDrawHideForPlayer(playerid, Textdraw5);
  148.    TextDrawHideForPlayer(playerid, Textdraw6);
  149.    return 1;
  150. }
Add Comment
Please, Sign In to add comment