Advertisement
BlooDMasK

Untitled

Jul 13th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 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: 2017-7-14 @ 3:52:55
  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:Textdraww8;
  22.  
  23. public OnFilterScriptInit()
  24. {
  25. print("Textdraw file generated by");
  26. print(" Zamaroht's textdraw editor was loaded.");
  27.  
  28. // Create the textdraws:
  29. Textdraww8 = TextDrawCreate(317.000000, 309.000000, "0$");
  30. TextDrawAlignment(Textdraww8, 2);
  31. TextDrawBackgroundColor(Textdraww8, 255);
  32. TextDrawFont(Textdraww8, 1);
  33. TextDrawLetterSize(Textdraww8, 0.500000, 1.400000);
  34. TextDrawColor(Textdraww8, -1);
  35. TextDrawSetOutline(Textdraww8, 0);
  36. TextDrawSetProportional(Textdraww8, 1);
  37. TextDrawSetShadow(Textdraww8, 1);
  38. TextDrawUseBox(Textdraww8, 1);
  39. TextDrawBoxColor(Textdraww8, 255);
  40. TextDrawTextSize(Textdraww8, 0.000000, 277.000000);
  41. TextDrawSetSelectable(Textdraww8, 0);
  42. TextDrawBoxColor(Textdraww8, 0x00000070 );
  43. TextDrawBackgroundColor(Textdraww8, 0x00000070);
  44.  
  45. for(new i; i < MAX_PLAYERS; i ++)
  46. {
  47. if(IsPlayerConnected(i))
  48. {
  49. TextDrawShowForPlayer(i, Textdraww8);
  50. }
  51. }
  52. return 1;
  53. }
  54.  
  55. public OnFilterScriptExit()
  56. {
  57. TextDrawHideForAll(Textdraww8);
  58. TextDrawDestroy(Textdraww8);
  59. return 1;
  60. }
  61.  
  62. public OnPlayerConnect(playerid)
  63. {
  64. TextDrawShowForPlayer(playerid, Textdraww8);
  65. return 1;
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement