SHARE
TWEET

Necesidades

MarioBlack Apr 15th, 2020 864 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: "Barras"
  7. */
  8. new PlayerText:BarrasPTD[MAX_PLAYERS][5];
  9. /*
  10. ** textdarw group: "Hambre"
  11. */
  12. new PlayerText:HambrePTD[MAX_PLAYERS][3];
  13. /*
  14. ** textdarw group: "Sed"
  15. */
  16. new PlayerText:SedPTD[MAX_PLAYERS][3];
  17.  
  18. // creating player textdraw(s) under "OnPlayerConnect" preferably
  19. public OnPlayerConnect(playerid) {
  20.     /*
  21.     ** player textdarw group: "Barras"
  22.     */
  23.     BarrasPTD[playerid][0] = CreatePlayerTextDraw(playerid, 264.0000, 435.0000, ".");
  24.     PlayerTextDrawFont(playerid, BarrasPTD[playerid][0], 0);
  25.     PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][0], 0.0000, 0.6999);
  26.     PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][0], 2);
  27.     PlayerTextDrawColor(playerid, BarrasPTD[playerid][0], 1768516095);
  28.     PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][0], 0);
  29.     PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][0], 0);
  30.     PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][0], 255);
  31.     PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][0], 1);
  32.     PlayerTextDrawUseBox(playerid, BarrasPTD[playerid][0], 1);
  33.     PlayerTextDrawBoxColor(playerid, BarrasPTD[playerid][0], 1768516095);
  34.     PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][0], 60.0000, 72.0000);
  35.  
  36.     BarrasPTD[playerid][1] = CreatePlayerTextDraw(playerid, 371.0000, 434.5000, ".");
  37.     PlayerTextDrawFont(playerid, BarrasPTD[playerid][1], 0);
  38.     PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][1], 0.0000, 0.6999);
  39.     PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][1], 2);
  40.     PlayerTextDrawColor(playerid, BarrasPTD[playerid][1], 1768516095);
  41.     PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][1], 0);
  42.     PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][1], 0);
  43.     PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][1], 255);
  44.     PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][1], 1);
  45.     PlayerTextDrawUseBox(playerid, BarrasPTD[playerid][1], 1);
  46.     PlayerTextDrawBoxColor(playerid, BarrasPTD[playerid][1], 1768516095);
  47.     PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][1], 60.0000, 72.0000);
  48.  
  49.     BarrasPTD[playerid][2] = CreatePlayerTextDraw(playerid, 216.5000, 430.0000, "mdl-2295:bars");
  50.     PlayerTextDrawFont(playerid, BarrasPTD[playerid][2], 4);
  51.     PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][2], 0.5000, 1.0000);
  52.     PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][2], 2);
  53.     PlayerTextDrawColor(playerid, BarrasPTD[playerid][2], -1);
  54.     PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][2], 0);
  55.     PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][2], 0);
  56.     PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][2], 255);
  57.     PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][2], 1);
  58.     PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][2], 200.0000, 15.0000);
  59.  
  60.     BarrasPTD[playerid][3] = CreatePlayerTextDraw(playerid, 297.0000, 434.0000, "mdl-2295:progress");
  61.     PlayerTextDrawFont(playerid, BarrasPTD[playerid][3], 4);
  62.     PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][3], 0.5000, 1.0000);
  63.     PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][3], 2);
  64.     PlayerTextDrawColor(playerid, BarrasPTD[playerid][3], -1);
  65.     PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][3], 0);
  66.     PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][3], 0);
  67.     PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][3], 255);
  68.     PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][3], 1);
  69.     PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][3], 3.0000, 7.0000);
  70.  
  71.     BarrasPTD[playerid][4] = CreatePlayerTextDraw(playerid, 235.0000, 434.0000, "mdl-2295:progress");
  72.     PlayerTextDrawFont(playerid, BarrasPTD[playerid][4], 4);
  73.     PlayerTextDrawLetterSize(playerid, BarrasPTD[playerid][4], 0.5000, 1.0000);
  74.     PlayerTextDrawAlignment(playerid, BarrasPTD[playerid][4], 2);
  75.     PlayerTextDrawColor(playerid, BarrasPTD[playerid][4], -1);
  76.     PlayerTextDrawSetShadow(playerid, BarrasPTD[playerid][4], 0);
  77.     PlayerTextDrawSetOutline(playerid, BarrasPTD[playerid][4], 0);
  78.     PlayerTextDrawBackgroundColor(playerid, BarrasPTD[playerid][4], 255);
  79.     PlayerTextDrawSetProportional(playerid, BarrasPTD[playerid][4], 1);
  80.     PlayerTextDrawTextSize(playerid, BarrasPTD[playerid][4], -3.0000, 7.0000);
  81.  
  82.     /*
  83.     ** player textdarw group: "Hambre"
  84.     */
  85.     HambrePTD[playerid][0] = CreatePlayerTextDraw(playerid, 236.5000, 436.5000, "-");
  86.     PlayerTextDrawFont(playerid, HambrePTD[playerid][0], 1);
  87.     PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][0], 0.0000, 0.2000);
  88.     PlayerTextDrawColor(playerid, HambrePTD[playerid][0], -1);
  89.     PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][0], 0);
  90.     PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][0], 0);
  91.     PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][0], 255);
  92.     PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][0], 1);
  93.     PlayerTextDrawUseBox(playerid, HambrePTD[playerid][0], 1);
  94.     PlayerTextDrawBoxColor(playerid, HambrePTD[playerid][0], -1);
  95.     PlayerTextDrawTextSize(playerid, HambrePTD[playerid][0], 295.5000, 0.0000);
  96.  
  97.     HambrePTD[playerid][1] = CreatePlayerTextDraw(playerid, 297.0000, 434.0000, "mdl-2295:progress");
  98.     PlayerTextDrawFont(playerid, HambrePTD[playerid][1], 4);
  99.     PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][1], 0.5000, 1.0000);
  100.     PlayerTextDrawAlignment(playerid, HambrePTD[playerid][1], 2);
  101.     PlayerTextDrawColor(playerid, HambrePTD[playerid][1], -1);
  102.     PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][1], 0);
  103.     PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][1], 0);
  104.     PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][1], 255);
  105.     PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][1], 1);
  106.     PlayerTextDrawTextSize(playerid, HambrePTD[playerid][1], 3.0000, 7.0000);
  107.  
  108.     HambrePTD[playerid][2] = CreatePlayerTextDraw(playerid, 235.0000, 434.0000, "mdl-2295:progress");
  109.     PlayerTextDrawFont(playerid, HambrePTD[playerid][2], 4);
  110.     PlayerTextDrawLetterSize(playerid, HambrePTD[playerid][2], 0.5000, 1.0000);
  111.     PlayerTextDrawAlignment(playerid, HambrePTD[playerid][2], 2);
  112.     PlayerTextDrawColor(playerid, HambrePTD[playerid][2], -1);
  113.     PlayerTextDrawSetShadow(playerid, HambrePTD[playerid][2], 0);
  114.     PlayerTextDrawSetOutline(playerid, HambrePTD[playerid][2], 0);
  115.     PlayerTextDrawBackgroundColor(playerid, HambrePTD[playerid][2], 255);
  116.     PlayerTextDrawSetProportional(playerid, HambrePTD[playerid][2], 1);
  117.     PlayerTextDrawTextSize(playerid, HambrePTD[playerid][2], -3.0000, 7.0000);
  118.  
  119.     /*
  120.     ** player textdarw group: "Sed"
  121.     */
  122.     SedPTD[playerid][0] = CreatePlayerTextDraw(playerid, 344.5000, 436.5000, "-");
  123.     PlayerTextDrawFont(playerid, SedPTD[playerid][0], 1);
  124.     PlayerTextDrawLetterSize(playerid, SedPTD[playerid][0], 0.0000, 0.2000);
  125.     PlayerTextDrawColor(playerid, SedPTD[playerid][0], -1);
  126.     PlayerTextDrawSetShadow(playerid, SedPTD[playerid][0], 0);
  127.     PlayerTextDrawSetOutline(playerid, SedPTD[playerid][0], 0);
  128.     PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][0], 255);
  129.     PlayerTextDrawSetProportional(playerid, SedPTD[playerid][0], 1);
  130.     PlayerTextDrawUseBox(playerid, SedPTD[playerid][0], 1);
  131.     PlayerTextDrawBoxColor(playerid, SedPTD[playerid][0], -1);
  132.     PlayerTextDrawTextSize(playerid, SedPTD[playerid][0], 403.0000, 0.0000);
  133.  
  134.     SedPTD[playerid][1] = CreatePlayerTextDraw(playerid, 405.0000, 434.0000, "mdl-2295:progress");
  135.     PlayerTextDrawFont(playerid, SedPTD[playerid][1], 4);
  136.     PlayerTextDrawLetterSize(playerid, SedPTD[playerid][1], 0.5000, 1.0000);
  137.     PlayerTextDrawAlignment(playerid, SedPTD[playerid][1], 2);
  138.     PlayerTextDrawColor(playerid, SedPTD[playerid][1], -1);
  139.     PlayerTextDrawSetShadow(playerid, SedPTD[playerid][1], 0);
  140.     PlayerTextDrawSetOutline(playerid, SedPTD[playerid][1], 0);
  141.     PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][1], 255);
  142.     PlayerTextDrawSetProportional(playerid, SedPTD[playerid][1], 1);
  143.     PlayerTextDrawTextSize(playerid, SedPTD[playerid][1], 3.0000, 7.0000);
  144.  
  145.     SedPTD[playerid][2] = CreatePlayerTextDraw(playerid, 343.0000, 434.0000, "mdl-2295:progress");
  146.     PlayerTextDrawFont(playerid, SedPTD[playerid][2], 4);
  147.     PlayerTextDrawLetterSize(playerid, SedPTD[playerid][2], 0.5000, 1.0000);
  148.     PlayerTextDrawAlignment(playerid, SedPTD[playerid][2], 2);
  149.     PlayerTextDrawColor(playerid, SedPTD[playerid][2], -1);
  150.     PlayerTextDrawSetShadow(playerid, SedPTD[playerid][2], 0);
  151.     PlayerTextDrawSetOutline(playerid, SedPTD[playerid][2], 0);
  152.     PlayerTextDrawBackgroundColor(playerid, SedPTD[playerid][2], 255);
  153.     PlayerTextDrawSetProportional(playerid, SedPTD[playerid][2], 1);
  154.     PlayerTextDrawTextSize(playerid, SedPTD[playerid][2], -3.0000, 7.0000);
  155.  
  156.     return 1;
  157. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top