Advertisement
Guest User

Untitled

a guest
May 17th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. // TextDraw developed using Zamaroht's Textdraw Editor 1.0
  2.  
  3. // The fuction `PlayerTextDraw´ add by adri1
  4. // On top of script:
  5. new PlayerText:Textdraw0;
  6. new PlayerText:Textdraw1;
  7. new PlayerText:Textdraw2;
  8. new PlayerText:Textdraw3;
  9. new PlayerText:Textdraw4;
  10.  
  11. // In OnPlayerConnect prefferably, we procced to create our textdraws:
  12. Textdraw0 = CreatePlayerTextDraw(playerid,386.000000, 411.000000, "Chris Meller(0) requests a pickup.");
  13. PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
  14. PlayerTextDrawFont(playerid,Textdraw0, 1);
  15. PlayerTextDrawLetterSize(playerid,Textdraw0, 0.380000, 0.799999);
  16. PlayerTextDrawColor(playerid,Textdraw0, -65281);
  17. PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
  18. PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
  19. PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
  20. PlayerTextDrawUseBox(playerid,Textdraw0, 1);
  21. PlayerTextDrawBoxColor(playerid,Textdraw0, 255);
  22. PlayerTextDrawTextSize(playerid,Textdraw0, 603.000000, 529.000000);
  23. PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
  24.  
  25. Textdraw1 = CreatePlayerTextDraw(playerid,386.000000, 400.000000, "Chris Money(1) requests a pickup.");
  26. PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
  27. PlayerTextDrawFont(playerid,Textdraw1, 1);
  28. PlayerTextDrawLetterSize(playerid,Textdraw1, 0.380000, 0.899999);
  29. PlayerTextDrawColor(playerid,Textdraw1, -65281);
  30. PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
  31. PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
  32. PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
  33. PlayerTextDrawUseBox(playerid,Textdraw1, 1);
  34. PlayerTextDrawBoxColor(playerid,Textdraw1, 255);
  35. PlayerTextDrawTextSize(playerid,Textdraw1, 603.000000, 529.000000);
  36. PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
  37.  
  38. Textdraw2 = CreatePlayerTextDraw(playerid,386.000000, 389.000000, "Richard Doe(2) requests a pickup.");
  39. PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255);
  40. PlayerTextDrawFont(playerid,Textdraw2, 1);
  41. PlayerTextDrawLetterSize(playerid,Textdraw2, 0.380000, 0.799999);
  42. PlayerTextDrawColor(playerid,Textdraw2, -65281);
  43. PlayerTextDrawSetOutline(playerid,Textdraw2, 0);
  44. PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
  45. PlayerTextDrawSetShadow(playerid,Textdraw2, 1);
  46. PlayerTextDrawUseBox(playerid,Textdraw2, 1);
  47. PlayerTextDrawBoxColor(playerid,Textdraw2, 255);
  48. PlayerTextDrawTextSize(playerid,Textdraw2, 603.000000, 529.000000);
  49. PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
  50.  
  51. Textdraw3 = CreatePlayerTextDraw(playerid,386.000000, 377.000000, "John Doe(3) requests a pickup.");
  52. PlayerTextDrawBackgroundColor(playerid,Textdraw3, 255);
  53. PlayerTextDrawFont(playerid,Textdraw3, 1);
  54. PlayerTextDrawLetterSize(playerid,Textdraw3, 0.380000, 0.799999);
  55. PlayerTextDrawColor(playerid,Textdraw3, -65281);
  56. PlayerTextDrawSetOutline(playerid,Textdraw3, 0);
  57. PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
  58. PlayerTextDrawSetShadow(playerid,Textdraw3, 1);
  59. PlayerTextDrawUseBox(playerid,Textdraw3, 1);
  60. PlayerTextDrawBoxColor(playerid,Textdraw3, 255);
  61. PlayerTextDrawTextSize(playerid,Textdraw3, 603.000000, 529.000000);
  62. PlayerTextDrawSetSelectable(playerid,Textdraw3, 0);
  63.  
  64. Textdraw4 = CreatePlayerTextDraw(playerid,451.000000, 363.000000, "DISPATCH");
  65. PlayerTextDrawBackgroundColor(playerid,Textdraw4, 255);
  66. PlayerTextDrawFont(playerid,Textdraw4, 1);
  67. PlayerTextDrawLetterSize(playerid,Textdraw4, 0.500000, 1.000000);
  68. PlayerTextDrawColor(playerid,Textdraw4, -1);
  69. PlayerTextDrawSetOutline(playerid,Textdraw4, 0);
  70. PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
  71. PlayerTextDrawSetShadow(playerid,Textdraw4, 1);
  72. PlayerTextDrawUseBox(playerid,Textdraw4, 1);
  73. PlayerTextDrawBoxColor(playerid,Textdraw4, 255);
  74. PlayerTextDrawTextSize(playerid,Textdraw4, 530.000000, 1.000000);
  75. PlayerTextDrawSetSelectable(playerid,Textdraw4, 0);
  76.  
  77. // You can now use PlayerTextDrawShow, PlayerTextDrawHide and
  78. // PlayerTextDrawDestroy functions to show, hide, and destroy the textdraw.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement