Advertisement
OtaconEvil

[FS] Juego Ta-Te-Ti SA-MP By OTACON

Jul 9th, 2013
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 22.62 KB | None | 0 0
  1.  
  2. /*
  3.     [FS] Juego Ta-Te-Ti SA-MP By OTACON
  4.     Autor: OTACON
  5. */
  6.  
  7. #include <a_samp>
  8. new PlayerText:JuegoOtacon[MAX_PLAYERS][23];
  9.  
  10. public OnPlayerConnect(playerid) {
  11.     JuegoOtacon[playerid][0] = CreatePlayerTextDraw(playerid, 401.000000, 175.000000, "_");
  12.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][0], 255);
  13.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][0], 1);
  14.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][0], 0.500000, 0.200000);
  15.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][0], -1);
  16.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][0], 0);
  17.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][0], 1);
  18.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][0], 1);
  19.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][0], 1);
  20.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][0], 0xA43600FF);
  21.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][0], 630.000000, -35.000000);
  22.  
  23.     JuegoOtacon[playerid][1] = CreatePlayerTextDraw(playerid, 401.000000, 234.000000, "_");
  24.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][1], 255);
  25.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][1], 1);
  26.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][1], 0.500000, 0.200000);
  27.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][1], -1);
  28.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][1], 0);
  29.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][1], 1);
  30.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][1], 1);
  31.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][1], 1);
  32.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][1], 0xA43600FF);
  33.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][1], 630.000000, -35.000000);
  34.  
  35.     JuegoOtacon[playerid][2] = CreatePlayerTextDraw(playerid, 401.000000, 293.000000, "_");
  36.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][2], 255);
  37.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][2], 1);
  38.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][2], 0.500000, 0.200000);
  39.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][2], -1);
  40.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][2], 0);
  41.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][2], 1);
  42.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][2], 1);
  43.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][2], 1);
  44.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][2], 0xA43600FF);
  45.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][2], 630.000000, -35.000000);
  46.  
  47.     JuegoOtacon[playerid][3] = CreatePlayerTextDraw(playerid, 399.000000, 117.000000, "_");
  48.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][3], 255);
  49.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][3], 1);
  50.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][3], 0.500000, 0.200000);
  51.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][3], -1);
  52.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][3], 0);
  53.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][3], 1);
  54.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][3], 1);
  55.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][3], 1);
  56.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][3], 0xA43600FF);
  57.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][3], 630.000000, -35.000000);
  58.  
  59.     JuegoOtacon[playerid][4] = CreatePlayerTextDraw(playerid, 399.000000, 117.000000, "_");
  60.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][4], 255);
  61.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][4], 1);
  62.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][4], 0.500000, 19.700002);
  63.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][4], -1);
  64.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][4], 0);
  65.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][4], 1);
  66.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][4], 1);
  67.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][4], 1);
  68.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][4], 0xA43600FF);
  69.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][4], 402.000000, -35.000000);
  70.  
  71.     JuegoOtacon[playerid][5] = CreatePlayerTextDraw(playerid, 635.000000, 117.000000, "_");
  72.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][5], 255);
  73.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][5], 1);
  74.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][5], 0.500000, 19.700002);
  75.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][5], -1);
  76.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][5], 0);
  77.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][5], 1);
  78.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][5], 1);
  79.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][5], 1);
  80.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][5], 0xA43600FF);
  81.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][5], 622.000000, -35.000000);
  82.  
  83.     JuegoOtacon[playerid][6] = CreatePlayerTextDraw(playerid, 554.000000, 117.000000, "_");
  84.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][6], 255);
  85.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][6], 1);
  86.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][6], -0.499999, 19.700002);
  87.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][6], -1);
  88.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][6], 0);
  89.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][6], 1);
  90.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][6], 1);
  91.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][6], 1);
  92.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][6], 0xA43600FF);
  93.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][6], 561.000000, -35.000000);
  94.  
  95.     JuegoOtacon[playerid][7] = CreatePlayerTextDraw(playerid, 469.000000, 117.000000, "_");
  96.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][7], 255);
  97.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][7], 1);
  98.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][7], -0.499999, 19.700002);
  99.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][7], -1);
  100.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][7], 0);
  101.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][7], 1);
  102.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][7], 1);
  103.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][7], 1);
  104.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][7], 0xA43600FF);
  105.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][7], 476.000000, -35.000000);
  106.  
  107.     JuegoOtacon[playerid][8] = CreatePlayerTextDraw(playerid, 509.000000, 103.000000, "~g~- Juego de TA-TE-TI - ~y~By OTACON ~g~-");
  108.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][8], 2);
  109.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][8], 255);
  110.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][8], 2);
  111.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][8], 0.240000, 1.800001);
  112.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][8], -1);
  113.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][8], 1);
  114.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][8], 1);
  115.  
  116.     JuegoOtacon[playerid][9] = CreatePlayerTextDraw(playerid, 515.000000, 301.000000, "~w~Puntaje:");
  117.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][9], 2);
  118.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][9], 255);
  119.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][9], 2);
  120.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][9], 0.319999, 2.500001);
  121.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][9], -1);
  122.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][9], 1);
  123.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][9], 1);
  124.  
  125.     JuegoOtacon[playerid][10] = CreatePlayerTextDraw(playerid, 462.000000, 324.000000, "~r~Jugador 1: ~w~0");
  126.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][10], 2);
  127.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][10], 255);
  128.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][10], 1);
  129.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][10], 0.319999, 2.500001);
  130.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][10], -1);
  131.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][10], 1);
  132.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][10], 1);
  133.  
  134.     JuegoOtacon[playerid][11] = CreatePlayerTextDraw(playerid, 565.000000, 323.000000, "~b~Jugador 2: ~w~0");
  135.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][11], 2);
  136.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][11], 255);
  137.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][11], 1);
  138.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][11], 0.319999, 2.500001);
  139.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][11], -1);
  140.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][11], 1);
  141.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][11], 1);
  142.  
  143.     JuegoOtacon[playerid][12] = CreatePlayerTextDraw(playerid, 514.000000, 351.000000, "~g~HA GANADO EL JUGADOR ~w~1 ~g~!!");
  144.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][12], 2);
  145.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][12], 255);
  146.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][12], 1);
  147.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][12], 0.370000, 2.800001);
  148.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][12], -1);
  149.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][12], 1);
  150.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][12], 1);
  151.  
  152.     JuegoOtacon[playerid][13] = CreatePlayerTextDraw(playerid, 515.000000, 378.000000, "~w~Partidas: ~y~5/5");
  153.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][13], 2);
  154.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][13], 255);
  155.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][13], 2);
  156.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][13], 0.319999, 2.500001);
  157.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][13], -1);
  158.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][13], 1);
  159.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][13], 1);
  160.    
  161.     JuegoOtacon[playerid][14] = CreatePlayerTextDraw(playerid, 433.000000, 112.000000, "X");
  162.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][14], 2);
  163.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][15], 255);
  164.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][14], 1);
  165.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][14], 1.870000, 7.100000);
  166.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][14], -1);
  167.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][14], 1);
  168.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][14], 1);
  169.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][14], 1);
  170.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][14], 1);
  171.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][14], 0x00000000);
  172.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][14], 7.000000, 47.000000);
  173.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][14], 1);
  174.    
  175.     JuegoOtacon[playerid][15] = CreatePlayerTextDraw(playerid, 513.000000, 112.000000, "X");
  176.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][15], 2);
  177.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][15], 255);
  178.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][15], 1);
  179.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][15], 1.870000, 7.100000);
  180.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][15], -1);
  181.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][15], 1);
  182.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][15], 1);
  183.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][15], 1);
  184.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][15], 1);
  185.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][15], 0x00000000);
  186.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][15], 7.000000, 47.000000);
  187.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][15], 1);
  188.  
  189.     JuegoOtacon[playerid][16] = CreatePlayerTextDraw(playerid, 598.000000, 112.000000, "X");
  190.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][16], 2);
  191.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][16], 255);
  192.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][16], 1);
  193.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][16], 1.870000, 7.100000);
  194.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][16], -1);
  195.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][16], 1);
  196.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][16], 1);
  197.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][16], 1);
  198.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][16], 1);
  199.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][16], 0x00000000);
  200.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][16], 7.000000, 47.000000);
  201.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][16], 1);
  202.  
  203.     JuegoOtacon[playerid][17] = CreatePlayerTextDraw(playerid, 434.000000, 170.000000, "X");
  204.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][17], 2);
  205.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][17], 255);
  206.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][17], 1);
  207.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][17], 1.870000, 7.100000);
  208.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][17], -1);
  209.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][17], 1);
  210.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][17], 1);
  211.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][17], 1);
  212.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][17], 1);
  213.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][17], 0x00000000);
  214.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][17], 7.000000, 47.000000);
  215.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][17], 1);
  216.  
  217.     JuegoOtacon[playerid][18] = CreatePlayerTextDraw(playerid, 513.000000, 170.000000, "X");
  218.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][18], 2);
  219.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][18], 255);
  220.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][18], 1);
  221.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][18], 1.870000, 7.100000);
  222.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][18], -1);
  223.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][18], 1);
  224.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][18], 1);
  225.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][18], 1);
  226.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][18], 1);
  227.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][18], 0x00000000);
  228.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][18], 7.000000, 47.000000);
  229.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][18], 1);
  230.  
  231.     JuegoOtacon[playerid][19] = CreatePlayerTextDraw(playerid, 598.000000, 170.000000, "X");
  232.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][19], 2);
  233.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][19], 255);
  234.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][19], 1);
  235.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][19], 1.870000, 7.100000);
  236.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][19], -1);
  237.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][19], 1);
  238.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][19], 1);
  239.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][19], 1);
  240.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][19], 1);
  241.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][19], 0x00000000);
  242.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][19], 7.000000, 47.000000);
  243.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][19], 1);
  244.  
  245.     JuegoOtacon[playerid][20] = CreatePlayerTextDraw(playerid, 434.000000, 230.000000, "X");
  246.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][20], 2);
  247.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][20], 255);
  248.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][20], 1);
  249.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][20], 1.870000, 7.100000);
  250.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][20], -1);
  251.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][20], 1);
  252.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][20], 1);
  253.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][20], 1);
  254.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][20], 1);
  255.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][20], 0x00000000);
  256.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][20], 7.000000, 47.000000);
  257.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][20], 1);
  258.  
  259.     JuegoOtacon[playerid][21] = CreatePlayerTextDraw(playerid, 515.000000, 230.000000, "X");
  260.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][21], 2);
  261.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][21], 255);
  262.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][21], 1);
  263.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][21], 1.870000, 7.100000);
  264.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][21], -1);
  265.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][21], 1);
  266.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][21], 1);
  267.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][21], 1);
  268.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][21], 1);
  269.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][21], 0x00000000);
  270.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][21], 7.000000, 47.000000);
  271.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][21], 1);
  272.  
  273.     JuegoOtacon[playerid][22] = CreatePlayerTextDraw(playerid, 600.000000, 230.000000, "X");
  274.     PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][22], 2);
  275.     PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][22], 255);
  276.     PlayerTextDrawFont(playerid, JuegoOtacon[playerid][22], 1);
  277.     PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][22], 1.870000, 7.100000);
  278.     PlayerTextDrawColor(playerid, JuegoOtacon[playerid][22], -1);
  279.     PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][22], 1);
  280.     PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][22], 1);
  281.     PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][22], 1);
  282.     PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][22], 1);
  283.     PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][22], 0x00000000);
  284.     PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][22], 7.000000, 47.000000);
  285.     PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][22], 1);
  286.     return 1;
  287. }
  288.  
  289. public OnPlayerDisconnect(playerid, reason) {
  290.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][0]);
  291.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][1]);
  292.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][2]);
  293.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][3]);
  294.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][4]);
  295.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][5]);
  296.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][6]);
  297.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][7]);
  298.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][8]);
  299.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][9]);
  300.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][10]);
  301.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][11]);
  302.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][12]);
  303.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][13]);
  304.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][14]);
  305.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][15]);
  306.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][16]);
  307.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][17]);
  308.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][18]);
  309.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][19]);
  310.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][20]);
  311.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][21]);
  312.     PlayerTextDrawHide(playerid, JuegoOtacon[playerid][22]);
  313.     CancelSelectTextDraw(playerid);
  314.     return 1;
  315. }
  316.  
  317. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) {
  318.     if(playertextid == JuegoOtacon[playerid][14]) {
  319.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][14], "O");
  320.     }
  321.     if(playertextid == JuegoOtacon[playerid][15]) {
  322.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][15], "O");
  323.     }
  324.     if(playertextid == JuegoOtacon[playerid][16]) {
  325.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][16], "O");
  326.     }
  327.     if(playertextid == JuegoOtacon[playerid][17]) {
  328.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][17], "O");
  329.     }
  330.     if(playertextid == JuegoOtacon[playerid][18]) {
  331.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][18], "O");
  332.     }
  333.     if(playertextid == JuegoOtacon[playerid][19]) {
  334.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][19], "O");
  335.     }
  336.     if(playertextid == JuegoOtacon[playerid][20]) {
  337.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][20], "O");
  338.     }
  339.     if(playertextid == JuegoOtacon[playerid][21]) {
  340.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][21], "O");
  341.     }
  342.     if(playertextid == JuegoOtacon[playerid][22]) {
  343.         PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][22], "O");
  344.     }
  345.     return 1;
  346. }
  347.  
  348. public OnPlayerCommandText(playerid, cmdtext[]) {
  349.     if (strcmp("/jugar", cmdtext, true, 10) == 0)
  350.     {
  351.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][0]);
  352.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][1]);
  353.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][2]);
  354.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][3]);
  355.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][4]);
  356.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][5]);
  357.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][6]);
  358.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][7]);
  359.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][8]);
  360.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][9]);
  361.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][10]);
  362.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][11]);
  363.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][12]);
  364.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][13]);
  365.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][14]);
  366.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][15]);
  367.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][16]);
  368.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][17]);
  369.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][18]);
  370.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][19]);
  371.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][20]);
  372.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][21]);
  373.         PlayerTextDrawShow(playerid, JuegoOtacon[playerid][22]);
  374.         SelectTextDraw(playerid, 0xFFC70055);
  375.         return 1;
  376.     }
  377.     return 0;
  378. }
  379.  
  380. /*
  381.     [FS] Juego Ta-Te-Ti SA-MP By OTACON
  382.     Autor: OTACON
  383. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement