MarioBlack

Notificacion cosehcar droga

Apr 5th, 2020
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // TextDraw(s) developed using Gammix's TextDraw editor
  2. #include <a_samp>
  3.  
  4. // variable decleration on top of script
  5. /*
  6. ** textdarw group: "Fondo"
  7. */
  8. new PlayerText:FondoPTD[MAX_PLAYERS][3];
  9.  
  10. // creating player textdraw(s) under "OnPlayerConnect" preferably
  11. public OnPlayerConnect(playerid) {
  12. /*
  13. ** player textdarw group: "Fondo"
  14. */
  15. FondoPTD[playerid][0] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "-");
  16. PlayerTextDrawFont(playerid, FondoPTD[playerid][0], 1);
  17. PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][0], 0.0000, 2.5000);
  18. PlayerTextDrawColor(playerid, FondoPTD[playerid][0], -1);
  19. PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][0], 0);
  20. PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][0], 0);
  21. PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][0], 255);
  22. PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][0], 1);
  23. PlayerTextDrawUseBox(playerid, FondoPTD[playerid][0], 1);
  24. PlayerTextDrawBoxColor(playerid, FondoPTD[playerid][0], 8388863);
  25. PlayerTextDrawTextSize(playerid, FondoPTD[playerid][0], 495.5000, 0.0000);
  26.  
  27. FondoPTD[playerid][1] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "-");
  28. PlayerTextDrawFont(playerid, FondoPTD[playerid][1], 1);
  29. PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][1], 0.0000, 2.5000);
  30. PlayerTextDrawColor(playerid, FondoPTD[playerid][1], -1);
  31. PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][1], 0);
  32. PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][1], 0);
  33. PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][1], 255);
  34. PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][1], 1);
  35. PlayerTextDrawUseBox(playerid, FondoPTD[playerid][1], 1);
  36. PlayerTextDrawBoxColor(playerid, FondoPTD[playerid][1], 255);
  37. PlayerTextDrawTextSize(playerid, FondoPTD[playerid][1], 605.5000, 0.0000);
  38.  
  39. FondoPTD[playerid][2] = CreatePlayerTextDraw(playerid, 500.0000, 110.0000, "Presiona ~y~Y~w~ para extraer los frutos de la planta.");
  40. PlayerTextDrawFont(playerid, FondoPTD[playerid][2], 1);
  41. PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][2], 0.2600, 1.1000);
  42. PlayerTextDrawColor(playerid, FondoPTD[playerid][2], -1);
  43. PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][2], 0);
  44. PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][2], 0);
  45. PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][2], 255);
  46. PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][2], 1);
  47. PlayerTextDrawTextSize(playerid, FondoPTD[playerid][2], 605.0000, 0.0000);
  48.  
  49. return 1;
  50. }
RAW Paste Data