Advertisement
MarioBlack

Inventario

Apr 22nd, 2020
1,304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 28.41 KB | None | 0 0
  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. ** textdarw group: "Bag_Llave"
  11. */
  12. new PlayerText:Bag_LlavePTD[MAX_PLAYERS][2];
  13. /*
  14. ** textdarw group: "Slots"
  15. */
  16. new PlayerText:SlotsPTD[MAX_PLAYERS][22];
  17. /*
  18. ** textdarw group: "OpcMax"
  19. */
  20. new PlayerText:OpcMaxPTD[MAX_PLAYERS][5];
  21. /*
  22. ** textdarw group: "OpcMin"
  23. */
  24. new PlayerText:OpcMinPTD[MAX_PLAYERS][4];
  25. /*
  26. ** textdarw group: "Info"
  27. */
  28. new PlayerText:InfoPTD[MAX_PLAYERS][4];
  29.  
  30. // creating player textdraw(s) under "OnPlayerConnect" preferably
  31. public OnPlayerConnect(playerid) {
  32.     /*
  33.     ** player textdarw group: "Fondo"
  34.     */
  35.     FondoPTD[playerid][0] = CreatePlayerTextDraw(playerid, 499.5000, 240.0000, "mdl-2340:fondo");
  36.     PlayerTextDrawFont(playerid, FondoPTD[playerid][0], 4);
  37.     PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][0], 0.5000, 1.0000);
  38.     PlayerTextDrawAlignment(playerid, FondoPTD[playerid][0], 2);
  39.     PlayerTextDrawColor(playerid, FondoPTD[playerid][0], -1);
  40.     PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][0], 0);
  41.     PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][0], 0);
  42.     PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][0], 255);
  43.     PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][0], 1);
  44.     PlayerTextDrawTextSize(playerid, FondoPTD[playerid][0], 136.0000, 170.0000);
  45.  
  46.     FondoPTD[playerid][1] = CreatePlayerTextDraw(playerid, 527.0000, 260.5000, "Inventory");
  47.     PlayerTextDrawFont(playerid, FondoPTD[playerid][1], 1);
  48.     PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][1], 0.2000, 1.1000);
  49.     PlayerTextDrawColor(playerid, FondoPTD[playerid][1], -1);
  50.     PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][1], 0);
  51.     PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][1], 0);
  52.     PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][1], 255);
  53.     PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][1], 1);
  54.     PlayerTextDrawTextSize(playerid, FondoPTD[playerid][1], 600.0000, 0.0000);
  55.  
  56.     FondoPTD[playerid][2] = CreatePlayerTextDraw(playerid, 626.5000, 261.0000, "X");
  57.     PlayerTextDrawFont(playerid, FondoPTD[playerid][2], 1);
  58.     PlayerTextDrawLetterSize(playerid, FondoPTD[playerid][2], 0.2000, 1.1000);
  59.     PlayerTextDrawColor(playerid, FondoPTD[playerid][2], -1);
  60.     PlayerTextDrawSetShadow(playerid, FondoPTD[playerid][2], 0);
  61.     PlayerTextDrawSetOutline(playerid, FondoPTD[playerid][2], 0);
  62.     PlayerTextDrawBackgroundColor(playerid, FondoPTD[playerid][2], 255);
  63.     PlayerTextDrawSetProportional(playerid, FondoPTD[playerid][2], 1);
  64.     PlayerTextDrawTextSize(playerid, FondoPTD[playerid][2], 632.0000, 0.0000);
  65.     PlayerTextDrawSetSelectable(playerid, FondoPTD[playerid][2], 1);
  66.  
  67.     /*
  68.     ** player textdarw group: "Bag_Llave"
  69.     */
  70.     Bag_LlavePTD[playerid][0] = CreatePlayerTextDraw(playerid, 506.0000, 346.5000, "mdl-2340:bag");
  71.     PlayerTextDrawFont(playerid, Bag_LlavePTD[playerid][0], 4);
  72.     PlayerTextDrawLetterSize(playerid, Bag_LlavePTD[playerid][0], 0.5000, 1.0000);
  73.     PlayerTextDrawAlignment(playerid, Bag_LlavePTD[playerid][0], 2);
  74.     PlayerTextDrawColor(playerid, Bag_LlavePTD[playerid][0], 1164036351);
  75.     PlayerTextDrawSetShadow(playerid, Bag_LlavePTD[playerid][0], 0);
  76.     PlayerTextDrawSetOutline(playerid, Bag_LlavePTD[playerid][0], 0);
  77.     PlayerTextDrawBackgroundColor(playerid, Bag_LlavePTD[playerid][0], 255);
  78.     PlayerTextDrawSetProportional(playerid, Bag_LlavePTD[playerid][0], 1);
  79.     PlayerTextDrawTextSize(playerid, Bag_LlavePTD[playerid][0], 13.0000, 13.0000);
  80.  
  81.     Bag_LlavePTD[playerid][1] = CreatePlayerTextDraw(playerid, 506.0000, 371.5000, "mdl-2340:keys");
  82.     PlayerTextDrawFont(playerid, Bag_LlavePTD[playerid][1], 4);
  83.     PlayerTextDrawLetterSize(playerid, Bag_LlavePTD[playerid][1], 0.5000, 1.0000);
  84.     PlayerTextDrawAlignment(playerid, Bag_LlavePTD[playerid][1], 2);
  85.     PlayerTextDrawColor(playerid, Bag_LlavePTD[playerid][1], -1);
  86.     PlayerTextDrawSetShadow(playerid, Bag_LlavePTD[playerid][1], 0);
  87.     PlayerTextDrawSetOutline(playerid, Bag_LlavePTD[playerid][1], 0);
  88.     PlayerTextDrawBackgroundColor(playerid, Bag_LlavePTD[playerid][1], 255);
  89.     PlayerTextDrawSetProportional(playerid, Bag_LlavePTD[playerid][1], 1);
  90.     PlayerTextDrawTextSize(playerid, Bag_LlavePTD[playerid][1], 13.0000, 13.0000);
  91.  
  92.     /*
  93.     ** player textdarw group: "Slots"
  94.     */
  95.     SlotsPTD[playerid][0] = CreatePlayerTextDraw(playerid, 528.5000, 281.0000, "mdl-2340:slot");
  96.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][0], 4);
  97.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][0], 0.5000, 1.0000);
  98.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][0], -1);
  99.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][0], 0);
  100.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][0], 0);
  101.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][0], 255);
  102.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][0], 1);
  103.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][0], 18.5000, 23.0000);
  104.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][0], 1);
  105.  
  106.     SlotsPTD[playerid][1] = CreatePlayerTextDraw(playerid, 549.5000, 281.0000, "mdl-2340:slot");
  107.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][1], 4);
  108.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][1], 0.5000, 1.0000);
  109.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][1], -1);
  110.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][1], 0);
  111.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][1], 0);
  112.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][1], 255);
  113.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][1], 1);
  114.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][1], 18.5000, 23.0000);
  115.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][1], 1);
  116.  
  117.     SlotsPTD[playerid][2] = CreatePlayerTextDraw(playerid, 571.0000, 281.0000, "mdl-2340:slot");
  118.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][2], 4);
  119.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][2], 0.5000, 1.0000);
  120.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][2], -1);
  121.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][2], 0);
  122.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][2], 0);
  123.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][2], 255);
  124.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][2], 1);
  125.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][2], 18.5000, 23.0000);
  126.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][2], 1);
  127.  
  128.     SlotsPTD[playerid][3] = CreatePlayerTextDraw(playerid, 592.0000, 281.0000, "mdl-2340:slot");
  129.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][3], 4);
  130.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][3], 0.5000, 1.0000);
  131.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][3], -1);
  132.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][3], 0);
  133.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][3], 0);
  134.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][3], 255);
  135.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][3], 1);
  136.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][3], 18.5000, 23.0000);
  137.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][3], 1);
  138.  
  139.     SlotsPTD[playerid][4] = CreatePlayerTextDraw(playerid, 612.5000, 281.0000, "mdl-2340:slot");
  140.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][4], 4);
  141.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][4], 0.5000, 1.0000);
  142.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][4], -1);
  143.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][4], 0);
  144.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][4], 0);
  145.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][4], 255);
  146.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][4], 1);
  147.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][4], 18.5000, 23.0000);
  148.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][4], 1);
  149.  
  150.     SlotsPTD[playerid][5] = CreatePlayerTextDraw(playerid, 528.5000, 308.0000, "mdl-2340:slot");
  151.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][5], 4);
  152.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][5], 0.5000, 1.0000);
  153.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][5], -1);
  154.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][5], 0);
  155.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][5], 0);
  156.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][5], 255);
  157.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][5], 1);
  158.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][5], 18.5000, 23.0000);
  159.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][5], 1);
  160.  
  161.     SlotsPTD[playerid][6] = CreatePlayerTextDraw(playerid, 549.5000, 308.0000, "mdl-2340:slot");
  162.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][6], 4);
  163.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][6], 0.5000, 1.0000);
  164.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][6], -1);
  165.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][6], 0);
  166.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][6], 0);
  167.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][6], 255);
  168.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][6], 1);
  169.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][6], 18.5000, 23.0000);
  170.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][6], 1);
  171.  
  172.     SlotsPTD[playerid][7] = CreatePlayerTextDraw(playerid, 571.0000, 308.0000, "mdl-2340:slot");
  173.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][7], 4);
  174.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][7], 0.5000, 1.0000);
  175.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][7], -1);
  176.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][7], 0);
  177.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][7], 0);
  178.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][7], 255);
  179.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][7], 1);
  180.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][7], 18.5000, 23.0000);
  181.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][7], 1);
  182.  
  183.     SlotsPTD[playerid][8] = CreatePlayerTextDraw(playerid, 592.0000, 308.0000, "mdl-2340:slot");
  184.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][8], 4);
  185.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][8], 0.5000, 1.0000);
  186.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][8], -1);
  187.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][8], 0);
  188.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][8], 0);
  189.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][8], 255);
  190.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][8], 1);
  191.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][8], 18.5000, 23.0000);
  192.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][8], 1);
  193.  
  194.     SlotsPTD[playerid][9] = CreatePlayerTextDraw(playerid, 612.5000, 308.0000, "mdl-2340:slot");
  195.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][9], 4);
  196.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][9], 0.5000, 1.0000);
  197.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][9], -1);
  198.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][9], 0);
  199.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][9], 0);
  200.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][9], 255);
  201.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][9], 1);
  202.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][9], 18.5000, 23.0000);
  203.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][9], 1);
  204.  
  205.     SlotsPTD[playerid][10] = CreatePlayerTextDraw(playerid, 528.5000, 336.0000, "mdl-2340:slot");
  206.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][10], 4);
  207.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][10], 0.5000, 1.0000);
  208.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][10], -1);
  209.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][10], 0);
  210.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][10], 0);
  211.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][10], 255);
  212.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][10], 1);
  213.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][10], 18.5000, 23.0000);
  214.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][10], 1);
  215.  
  216.     SlotsPTD[playerid][11] = CreatePlayerTextDraw(playerid, 549.5000, 336.0000, "mdl-2340:slot");
  217.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][11], 4);
  218.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][11], 0.5000, 1.0000);
  219.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][11], -1);
  220.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][11], 0);
  221.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][11], 0);
  222.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][11], 255);
  223.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][11], 1);
  224.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][11], 18.5000, 23.0000);
  225.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][11], 1);
  226.  
  227.     SlotsPTD[playerid][12] = CreatePlayerTextDraw(playerid, 571.0000, 336.0000, "mdl-2340:slot");
  228.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][12], 4);
  229.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][12], 0.5000, 1.0000);
  230.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][12], -1);
  231.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][12], 0);
  232.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][12], 0);
  233.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][12], 255);
  234.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][12], 1);
  235.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][12], 18.5000, 23.0000);
  236.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][12], 1);
  237.  
  238.     SlotsPTD[playerid][13] = CreatePlayerTextDraw(playerid, 592.0000, 336.0000, "mdl-2340:slot");
  239.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][13], 4);
  240.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][13], 0.5000, 1.0000);
  241.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][13], -1);
  242.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][13], 0);
  243.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][13], 0);
  244.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][13], 255);
  245.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][13], 1);
  246.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][13], 18.5000, 23.0000);
  247.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][13], 1);
  248.  
  249.     SlotsPTD[playerid][14] = CreatePlayerTextDraw(playerid, 612.5000, 336.0000, "mdl-2340:slot");
  250.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][14], 4);
  251.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][14], 0.5000, 1.0000);
  252.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][14], -1);
  253.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][14], 0);
  254.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][14], 0);
  255.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][14], 255);
  256.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][14], 1);
  257.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][14], 18.5000, 23.0000);
  258.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][14], 1);
  259.  
  260.     SlotsPTD[playerid][15] = CreatePlayerTextDraw(playerid, 528.5000, 363.0000, "mdl-2340:slot");
  261.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][15], 4);
  262.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][15], 0.5000, 1.0000);
  263.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][15], -1);
  264.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][15], 0);
  265.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][15], 0);
  266.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][15], 255);
  267.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][15], 1);
  268.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][15], 18.5000, 23.0000);
  269.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][15], 1);
  270.  
  271.     SlotsPTD[playerid][16] = CreatePlayerTextDraw(playerid, 549.5000, 363.0000, "mdl-2340:slot");
  272.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][16], 4);
  273.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][16], 0.5000, 1.0000);
  274.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][16], -1);
  275.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][16], 0);
  276.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][16], 0);
  277.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][16], 255);
  278.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][16], 1);
  279.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][16], 18.5000, 23.0000);
  280.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][16], 1);
  281.  
  282.     SlotsPTD[playerid][17] = CreatePlayerTextDraw(playerid, 571.0000, 363.0000, "mdl-2340:slot");
  283.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][17], 4);
  284.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][17], 0.5000, 1.0000);
  285.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][17], -1);
  286.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][17], 0);
  287.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][17], 0);
  288.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][17], 255);
  289.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][17], 1);
  290.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][17], 18.5000, 23.0000);
  291.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][17], 1);
  292.  
  293.     SlotsPTD[playerid][18] = CreatePlayerTextDraw(playerid, 592.0000, 363.0000, "mdl-2340:slot");
  294.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][18], 4);
  295.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][18], 0.5000, 1.0000);
  296.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][18], -1);
  297.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][18], 0);
  298.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][18], 0);
  299.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][18], 255);
  300.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][18], 1);
  301.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][18], 18.5000, 23.0000);
  302.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][18], 1);
  303.  
  304.     SlotsPTD[playerid][19] = CreatePlayerTextDraw(playerid, 612.5000, 363.0000, "mdl-2340:slot");
  305.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][19], 4);
  306.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][19], 0.5000, 1.0000);
  307.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][19], -1);
  308.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][19], 0);
  309.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][19], 0);
  310.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][19], 255);
  311.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][19], 1);
  312.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][19], 18.5000, 23.0000);
  313.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][19], 1);
  314.  
  315.     SlotsPTD[playerid][20] = CreatePlayerTextDraw(playerid, 528.5000, 281.0000, "mdl-2340:slotactive");
  316.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][20], 4);
  317.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][20], 0.5000, 1.0000);
  318.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][20], -1);
  319.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][20], 0);
  320.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][20], 0);
  321.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][20], 255);
  322.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][20], 1);
  323.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][20], 18.5000, 23.0000);
  324.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][20], 1);
  325.  
  326.     SlotsPTD[playerid][21] = CreatePlayerTextDraw(playerid, 528.5000, 281.0000, "mdl-2340:hamburguesa");
  327.     PlayerTextDrawFont(playerid, SlotsPTD[playerid][21], 4);
  328.     PlayerTextDrawLetterSize(playerid, SlotsPTD[playerid][21], 0.5000, 1.0000);
  329.     PlayerTextDrawColor(playerid, SlotsPTD[playerid][21], -1);
  330.     PlayerTextDrawSetShadow(playerid, SlotsPTD[playerid][21], 0);
  331.     PlayerTextDrawSetOutline(playerid, SlotsPTD[playerid][21], 0);
  332.     PlayerTextDrawBackgroundColor(playerid, SlotsPTD[playerid][21], 255);
  333.     PlayerTextDrawSetProportional(playerid, SlotsPTD[playerid][21], 1);
  334.     PlayerTextDrawTextSize(playerid, SlotsPTD[playerid][21], 18.5000, 23.0000);
  335.     PlayerTextDrawSetSelectable(playerid, SlotsPTD[playerid][21], 1);
  336.  
  337.     /*
  338.     ** player textdarw group: "OpcMax"
  339.     */
  340.     OpcMaxPTD[playerid][0] = CreatePlayerTextDraw(playerid, 480.0000, 257.5000, "mdl-2340:slot");
  341.     PlayerTextDrawFont(playerid, OpcMaxPTD[playerid][0], 4);
  342.     PlayerTextDrawLetterSize(playerid, OpcMaxPTD[playerid][0], 0.5000, 1.0000);
  343.     PlayerTextDrawColor(playerid, OpcMaxPTD[playerid][0], -1936945921);
  344.     PlayerTextDrawSetShadow(playerid, OpcMaxPTD[playerid][0], 0);
  345.     PlayerTextDrawSetOutline(playerid, OpcMaxPTD[playerid][0], 0);
  346.     PlayerTextDrawBackgroundColor(playerid, OpcMaxPTD[playerid][0], 255);
  347.     PlayerTextDrawSetProportional(playerid, OpcMaxPTD[playerid][0], 1);
  348.     PlayerTextDrawTextSize(playerid, OpcMaxPTD[playerid][0], 40.0000, 42.5000);
  349.  
  350.     OpcMaxPTD[playerid][1] = CreatePlayerTextDraw(playerid, 500.0000, 260.0000, "Usar");
  351.     PlayerTextDrawFont(playerid, OpcMaxPTD[playerid][1], 2);
  352.     PlayerTextDrawLetterSize(playerid, OpcMaxPTD[playerid][1], 0.1500, 0.8999);
  353.     PlayerTextDrawAlignment(playerid, OpcMaxPTD[playerid][1], 2);
  354.     PlayerTextDrawColor(playerid, OpcMaxPTD[playerid][1], -1);
  355.     PlayerTextDrawSetShadow(playerid, OpcMaxPTD[playerid][1], 0);
  356.     PlayerTextDrawSetOutline(playerid, OpcMaxPTD[playerid][1], 0);
  357.     PlayerTextDrawBackgroundColor(playerid, OpcMaxPTD[playerid][1], 255);
  358.     PlayerTextDrawSetProportional(playerid, OpcMaxPTD[playerid][1], 1);
  359.     PlayerTextDrawTextSize(playerid, OpcMaxPTD[playerid][1], 5.0000, 34.5000);
  360.  
  361.     OpcMaxPTD[playerid][2] = CreatePlayerTextDraw(playerid, 500.0000, 270.0000, "Tirar");
  362.     PlayerTextDrawFont(playerid, OpcMaxPTD[playerid][2], 2);
  363.     PlayerTextDrawLetterSize(playerid, OpcMaxPTD[playerid][2], 0.1500, 0.8999);
  364.     PlayerTextDrawAlignment(playerid, OpcMaxPTD[playerid][2], 2);
  365.     PlayerTextDrawColor(playerid, OpcMaxPTD[playerid][2], -1);
  366.     PlayerTextDrawSetShadow(playerid, OpcMaxPTD[playerid][2], 0);
  367.     PlayerTextDrawSetOutline(playerid, OpcMaxPTD[playerid][2], 0);
  368.     PlayerTextDrawBackgroundColor(playerid, OpcMaxPTD[playerid][2], 255);
  369.     PlayerTextDrawSetProportional(playerid, OpcMaxPTD[playerid][2], 1);
  370.     PlayerTextDrawTextSize(playerid, OpcMaxPTD[playerid][2], 5.0000, 25.0000);
  371.  
  372.     OpcMaxPTD[playerid][3] = CreatePlayerTextDraw(playerid, 499.5000, 279.0000, "Mover");
  373.     PlayerTextDrawFont(playerid, OpcMaxPTD[playerid][3], 2);
  374.     PlayerTextDrawLetterSize(playerid, OpcMaxPTD[playerid][3], 0.1500, 0.8999);
  375.     PlayerTextDrawAlignment(playerid, OpcMaxPTD[playerid][3], 2);
  376.     PlayerTextDrawColor(playerid, OpcMaxPTD[playerid][3], -1);
  377.     PlayerTextDrawSetShadow(playerid, OpcMaxPTD[playerid][3], 0);
  378.     PlayerTextDrawSetOutline(playerid, OpcMaxPTD[playerid][3], 0);
  379.     PlayerTextDrawBackgroundColor(playerid, OpcMaxPTD[playerid][3], 255);
  380.     PlayerTextDrawSetProportional(playerid, OpcMaxPTD[playerid][3], 1);
  381.     PlayerTextDrawTextSize(playerid, OpcMaxPTD[playerid][3], 5.0000, 25.0000);
  382.  
  383.     OpcMaxPTD[playerid][4] = CreatePlayerTextDraw(playerid, 500.0000, 288.5000, "Convinar");
  384.     PlayerTextDrawFont(playerid, OpcMaxPTD[playerid][4], 2);
  385.     PlayerTextDrawLetterSize(playerid, OpcMaxPTD[playerid][4], 0.1500, 0.8999);
  386.     PlayerTextDrawAlignment(playerid, OpcMaxPTD[playerid][4], 2);
  387.     PlayerTextDrawColor(playerid, OpcMaxPTD[playerid][4], -1);
  388.     PlayerTextDrawSetShadow(playerid, OpcMaxPTD[playerid][4], 0);
  389.     PlayerTextDrawSetOutline(playerid, OpcMaxPTD[playerid][4], 0);
  390.     PlayerTextDrawBackgroundColor(playerid, OpcMaxPTD[playerid][4], 255);
  391.     PlayerTextDrawSetProportional(playerid, OpcMaxPTD[playerid][4], 1);
  392.     PlayerTextDrawTextSize(playerid, OpcMaxPTD[playerid][4], 5.0000, 25.0000);
  393.  
  394.     /*
  395.     ** player textdarw group: "OpcMin"
  396.     */
  397.     OpcMinPTD[playerid][0] = CreatePlayerTextDraw(playerid, 480.0000, 257.5000, "mdl-2340:slot");
  398.     PlayerTextDrawFont(playerid, OpcMinPTD[playerid][0], 4);
  399.     PlayerTextDrawLetterSize(playerid, OpcMinPTD[playerid][0], 0.5000, 1.0000);
  400.     PlayerTextDrawColor(playerid, OpcMinPTD[playerid][0], -1936945921);
  401.     PlayerTextDrawSetShadow(playerid, OpcMinPTD[playerid][0], 0);
  402.     PlayerTextDrawSetOutline(playerid, OpcMinPTD[playerid][0], 0);
  403.     PlayerTextDrawBackgroundColor(playerid, OpcMinPTD[playerid][0], 255);
  404.     PlayerTextDrawSetProportional(playerid, OpcMinPTD[playerid][0], 1);
  405.     PlayerTextDrawTextSize(playerid, OpcMinPTD[playerid][0], 40.0000, 33.0000);
  406.  
  407.     OpcMinPTD[playerid][1] = CreatePlayerTextDraw(playerid, 500.0000, 260.0000, "Usar");
  408.     PlayerTextDrawFont(playerid, OpcMinPTD[playerid][1], 2);
  409.     PlayerTextDrawLetterSize(playerid, OpcMinPTD[playerid][1], 0.1500, 0.8999);
  410.     PlayerTextDrawAlignment(playerid, OpcMinPTD[playerid][1], 2);
  411.     PlayerTextDrawColor(playerid, OpcMinPTD[playerid][1], -1);
  412.     PlayerTextDrawSetShadow(playerid, OpcMinPTD[playerid][1], 0);
  413.     PlayerTextDrawSetOutline(playerid, OpcMinPTD[playerid][1], 0);
  414.     PlayerTextDrawBackgroundColor(playerid, OpcMinPTD[playerid][1], 255);
  415.     PlayerTextDrawSetProportional(playerid, OpcMinPTD[playerid][1], 1);
  416.     PlayerTextDrawTextSize(playerid, OpcMinPTD[playerid][1], 5.0000, 34.5000);
  417.  
  418.     OpcMinPTD[playerid][2] = CreatePlayerTextDraw(playerid, 500.0000, 270.0000, "Tirar");
  419.     PlayerTextDrawFont(playerid, OpcMinPTD[playerid][2], 2);
  420.     PlayerTextDrawLetterSize(playerid, OpcMinPTD[playerid][2], 0.1500, 0.8999);
  421.     PlayerTextDrawAlignment(playerid, OpcMinPTD[playerid][2], 2);
  422.     PlayerTextDrawColor(playerid, OpcMinPTD[playerid][2], -1);
  423.     PlayerTextDrawSetShadow(playerid, OpcMinPTD[playerid][2], 0);
  424.     PlayerTextDrawSetOutline(playerid, OpcMinPTD[playerid][2], 0);
  425.     PlayerTextDrawBackgroundColor(playerid, OpcMinPTD[playerid][2], 255);
  426.     PlayerTextDrawSetProportional(playerid, OpcMinPTD[playerid][2], 1);
  427.     PlayerTextDrawTextSize(playerid, OpcMinPTD[playerid][2], 5.0000, 25.0000);
  428.  
  429.     OpcMinPTD[playerid][3] = CreatePlayerTextDraw(playerid, 499.5000, 279.0000, "Mover");
  430.     PlayerTextDrawFont(playerid, OpcMinPTD[playerid][3], 2);
  431.     PlayerTextDrawLetterSize(playerid, OpcMinPTD[playerid][3], 0.1500, 0.8999);
  432.     PlayerTextDrawAlignment(playerid, OpcMinPTD[playerid][3], 2);
  433.     PlayerTextDrawColor(playerid, OpcMinPTD[playerid][3], -1);
  434.     PlayerTextDrawSetShadow(playerid, OpcMinPTD[playerid][3], 0);
  435.     PlayerTextDrawSetOutline(playerid, OpcMinPTD[playerid][3], 0);
  436.     PlayerTextDrawBackgroundColor(playerid, OpcMinPTD[playerid][3], 255);
  437.     PlayerTextDrawSetProportional(playerid, OpcMinPTD[playerid][3], 1);
  438.     PlayerTextDrawTextSize(playerid, OpcMinPTD[playerid][3], 5.0000, 25.0000);
  439.  
  440.     /*
  441.     ** player textdarw group: "Info"
  442.     */
  443.     InfoPTD[playerid][0] = CreatePlayerTextDraw(playerid, 524.0000, 221.5000, "mdl-2340:slot");
  444.     PlayerTextDrawFont(playerid, InfoPTD[playerid][0], 4);
  445.     PlayerTextDrawLetterSize(playerid, InfoPTD[playerid][0], 0.5000, 1.0000);
  446.     PlayerTextDrawAlignment(playerid, InfoPTD[playerid][0], 3);
  447.     PlayerTextDrawColor(playerid, InfoPTD[playerid][0], -1936945921);
  448.     PlayerTextDrawSetShadow(playerid, InfoPTD[playerid][0], 0);
  449.     PlayerTextDrawSetOutline(playerid, InfoPTD[playerid][0], 0);
  450.     PlayerTextDrawBackgroundColor(playerid, InfoPTD[playerid][0], 255);
  451.     PlayerTextDrawSetProportional(playerid, InfoPTD[playerid][0], 1);
  452.     PlayerTextDrawTextSize(playerid, InfoPTD[playerid][0], 112.5000, 13.5000);
  453.  
  454.     InfoPTD[playerid][1] = CreatePlayerTextDraw(playerid, 630.0000, 223.0000, "Nombre del Item");
  455.     PlayerTextDrawFont(playerid, InfoPTD[playerid][1], 2);
  456.     PlayerTextDrawLetterSize(playerid, InfoPTD[playerid][1], 0.1499, 1.0000);
  457.     PlayerTextDrawAlignment(playerid, InfoPTD[playerid][1], 3);
  458.     PlayerTextDrawColor(playerid, InfoPTD[playerid][1], -1);
  459.     PlayerTextDrawSetShadow(playerid, InfoPTD[playerid][1], 0);
  460.     PlayerTextDrawSetOutline(playerid, InfoPTD[playerid][1], 0);
  461.     PlayerTextDrawBackgroundColor(playerid, InfoPTD[playerid][1], 255);
  462.     PlayerTextDrawSetProportional(playerid, InfoPTD[playerid][1], 1);
  463.     PlayerTextDrawTextSize(playerid, InfoPTD[playerid][1], 80.5000, 13.5000);
  464.  
  465.     InfoPTD[playerid][2] = CreatePlayerTextDraw(playerid, 524.0000, 235.5000, "mdl-2340:slot");
  466.     PlayerTextDrawFont(playerid, InfoPTD[playerid][2], 4);
  467.     PlayerTextDrawLetterSize(playerid, InfoPTD[playerid][2], 0.5000, 1.0000);
  468.     PlayerTextDrawAlignment(playerid, InfoPTD[playerid][2], 3);
  469.     PlayerTextDrawColor(playerid, InfoPTD[playerid][2], -1936945921);
  470.     PlayerTextDrawSetShadow(playerid, InfoPTD[playerid][2], 0);
  471.     PlayerTextDrawSetOutline(playerid, InfoPTD[playerid][2], 0);
  472.     PlayerTextDrawBackgroundColor(playerid, InfoPTD[playerid][2], 255);
  473.     PlayerTextDrawSetProportional(playerid, InfoPTD[playerid][2], 1);
  474.     PlayerTextDrawTextSize(playerid, InfoPTD[playerid][2], 112.5000, 13.5000);
  475.  
  476.     InfoPTD[playerid][3] = CreatePlayerTextDraw(playerid, 630.0000, 237.5000, "Cantidad: ~y~10");
  477.     PlayerTextDrawFont(playerid, InfoPTD[playerid][3], 2);
  478.     PlayerTextDrawLetterSize(playerid, InfoPTD[playerid][3], 0.1499, 1.0000);
  479.     PlayerTextDrawAlignment(playerid, InfoPTD[playerid][3], 3);
  480.     PlayerTextDrawColor(playerid, InfoPTD[playerid][3], -1);
  481.     PlayerTextDrawSetShadow(playerid, InfoPTD[playerid][3], 0);
  482.     PlayerTextDrawSetOutline(playerid, InfoPTD[playerid][3], 0);
  483.     PlayerTextDrawBackgroundColor(playerid, InfoPTD[playerid][3], 255);
  484.     PlayerTextDrawSetProportional(playerid, InfoPTD[playerid][3], 1);
  485.     PlayerTextDrawTextSize(playerid, InfoPTD[playerid][3], 80.5000, 13.5000);
  486.  
  487.     return 1;
  488. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement