Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- [FS] Juego Ta-Te-Ti SA-MP By OTACON
- Autor: OTACON
- */
- #include <a_samp>
- new PlayerText:JuegoOtacon[MAX_PLAYERS][23];
- public OnPlayerConnect(playerid) {
- JuegoOtacon[playerid][0] = CreatePlayerTextDraw(playerid, 401.000000, 175.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][0], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][0], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][0], 0.500000, 0.200000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][0], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][0], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][0], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][0], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][0], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][0], 630.000000, -35.000000);
- JuegoOtacon[playerid][1] = CreatePlayerTextDraw(playerid, 401.000000, 234.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][1], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][1], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][1], 0.500000, 0.200000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][1], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][1], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][1], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][1], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][1], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][1], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][1], 630.000000, -35.000000);
- JuegoOtacon[playerid][2] = CreatePlayerTextDraw(playerid, 401.000000, 293.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][2], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][2], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][2], 0.500000, 0.200000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][2], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][2], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][2], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][2], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][2], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][2], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][2], 630.000000, -35.000000);
- JuegoOtacon[playerid][3] = CreatePlayerTextDraw(playerid, 399.000000, 117.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][3], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][3], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][3], 0.500000, 0.200000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][3], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][3], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][3], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][3], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][3], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][3], 630.000000, -35.000000);
- JuegoOtacon[playerid][4] = CreatePlayerTextDraw(playerid, 399.000000, 117.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][4], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][4], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][4], 0.500000, 19.700002);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][4], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][4], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][4], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][4], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][4], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][4], 402.000000, -35.000000);
- JuegoOtacon[playerid][5] = CreatePlayerTextDraw(playerid, 635.000000, 117.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][5], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][5], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][5], 0.500000, 19.700002);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][5], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][5], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][5], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][5], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][5], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][5], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][5], 622.000000, -35.000000);
- JuegoOtacon[playerid][6] = CreatePlayerTextDraw(playerid, 554.000000, 117.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][6], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][6], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][6], -0.499999, 19.700002);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][6], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][6], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][6], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][6], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][6], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][6], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][6], 561.000000, -35.000000);
- JuegoOtacon[playerid][7] = CreatePlayerTextDraw(playerid, 469.000000, 117.000000, "_");
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][7], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][7], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][7], -0.499999, 19.700002);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][7], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][7], 0);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][7], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][7], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][7], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][7], 0xA43600FF);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][7], 476.000000, -35.000000);
- JuegoOtacon[playerid][8] = CreatePlayerTextDraw(playerid, 509.000000, 103.000000, "~g~- Juego de TA-TE-TI - ~y~By OTACON ~g~-");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][8], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][8], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][8], 2);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][8], 0.240000, 1.800001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][8], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][8], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][8], 1);
- JuegoOtacon[playerid][9] = CreatePlayerTextDraw(playerid, 515.000000, 301.000000, "~w~Puntaje:");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][9], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][9], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][9], 2);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][9], 0.319999, 2.500001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][9], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][9], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][9], 1);
- JuegoOtacon[playerid][10] = CreatePlayerTextDraw(playerid, 462.000000, 324.000000, "~r~Jugador 1: ~w~0");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][10], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][10], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][10], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][10], 0.319999, 2.500001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][10], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][10], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][10], 1);
- JuegoOtacon[playerid][11] = CreatePlayerTextDraw(playerid, 565.000000, 323.000000, "~b~Jugador 2: ~w~0");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][11], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][11], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][11], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][11], 0.319999, 2.500001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][11], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][11], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][11], 1);
- JuegoOtacon[playerid][12] = CreatePlayerTextDraw(playerid, 514.000000, 351.000000, "~g~HA GANADO EL JUGADOR ~w~1 ~g~!!");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][12], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][12], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][12], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][12], 0.370000, 2.800001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][12], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][12], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][12], 1);
- JuegoOtacon[playerid][13] = CreatePlayerTextDraw(playerid, 515.000000, 378.000000, "~w~Partidas: ~y~5/5");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][13], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][13], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][13], 2);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][13], 0.319999, 2.500001);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][13], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][13], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][13], 1);
- JuegoOtacon[playerid][14] = CreatePlayerTextDraw(playerid, 433.000000, 112.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][14], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][15], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][14], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][14], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][14], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][14], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][14], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][14], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][14], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][14], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][14], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][14], 1);
- JuegoOtacon[playerid][15] = CreatePlayerTextDraw(playerid, 513.000000, 112.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][15], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][15], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][15], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][15], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][15], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][15], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][15], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][15], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][15], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][15], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][15], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][15], 1);
- JuegoOtacon[playerid][16] = CreatePlayerTextDraw(playerid, 598.000000, 112.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][16], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][16], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][16], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][16], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][16], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][16], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][16], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][16], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][16], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][16], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][16], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][16], 1);
- JuegoOtacon[playerid][17] = CreatePlayerTextDraw(playerid, 434.000000, 170.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][17], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][17], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][17], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][17], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][17], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][17], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][17], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][17], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][17], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][17], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][17], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][17], 1);
- JuegoOtacon[playerid][18] = CreatePlayerTextDraw(playerid, 513.000000, 170.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][18], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][18], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][18], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][18], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][18], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][18], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][18], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][18], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][18], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][18], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][18], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][18], 1);
- JuegoOtacon[playerid][19] = CreatePlayerTextDraw(playerid, 598.000000, 170.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][19], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][19], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][19], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][19], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][19], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][19], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][19], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][19], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][19], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][19], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][19], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][19], 1);
- JuegoOtacon[playerid][20] = CreatePlayerTextDraw(playerid, 434.000000, 230.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][20], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][20], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][20], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][20], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][20], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][20], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][20], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][20], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][20], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][20], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][20], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][20], 1);
- JuegoOtacon[playerid][21] = CreatePlayerTextDraw(playerid, 515.000000, 230.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][21], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][21], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][21], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][21], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][21], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][21], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][21], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][21], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][21], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][21], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][21], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][21], 1);
- JuegoOtacon[playerid][22] = CreatePlayerTextDraw(playerid, 600.000000, 230.000000, "X");
- PlayerTextDrawAlignment(playerid, JuegoOtacon[playerid][22], 2);
- PlayerTextDrawBackgroundColor(playerid, JuegoOtacon[playerid][22], 255);
- PlayerTextDrawFont(playerid, JuegoOtacon[playerid][22], 1);
- PlayerTextDrawLetterSize(playerid, JuegoOtacon[playerid][22], 1.870000, 7.100000);
- PlayerTextDrawColor(playerid, JuegoOtacon[playerid][22], -1);
- PlayerTextDrawSetOutline(playerid, JuegoOtacon[playerid][22], 1);
- PlayerTextDrawSetProportional(playerid, JuegoOtacon[playerid][22], 1);
- PlayerTextDrawSetShadow(playerid, JuegoOtacon[playerid][22], 1);
- PlayerTextDrawUseBox(playerid, JuegoOtacon[playerid][22], 1);
- PlayerTextDrawBoxColor(playerid, JuegoOtacon[playerid][22], 0x00000000);
- PlayerTextDrawTextSize(playerid, JuegoOtacon[playerid][22], 7.000000, 47.000000);
- PlayerTextDrawSetSelectable(playerid, JuegoOtacon[playerid][22], 1);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason) {
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][0]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][1]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][2]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][3]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][4]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][5]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][6]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][7]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][8]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][9]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][10]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][11]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][12]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][13]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][14]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][15]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][16]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][17]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][18]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][19]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][20]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][21]);
- PlayerTextDrawHide(playerid, JuegoOtacon[playerid][22]);
- CancelSelectTextDraw(playerid);
- return 1;
- }
- public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) {
- if(playertextid == JuegoOtacon[playerid][14]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][14], "O");
- }
- if(playertextid == JuegoOtacon[playerid][15]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][15], "O");
- }
- if(playertextid == JuegoOtacon[playerid][16]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][16], "O");
- }
- if(playertextid == JuegoOtacon[playerid][17]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][17], "O");
- }
- if(playertextid == JuegoOtacon[playerid][18]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][18], "O");
- }
- if(playertextid == JuegoOtacon[playerid][19]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][19], "O");
- }
- if(playertextid == JuegoOtacon[playerid][20]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][20], "O");
- }
- if(playertextid == JuegoOtacon[playerid][21]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][21], "O");
- }
- if(playertextid == JuegoOtacon[playerid][22]) {
- PlayerTextDrawSetString(playerid, JuegoOtacon[playerid][22], "O");
- }
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[]) {
- if (strcmp("/jugar", cmdtext, true, 10) == 0)
- {
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][0]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][1]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][2]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][3]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][4]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][5]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][6]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][7]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][8]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][9]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][10]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][11]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][12]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][13]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][14]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][15]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][16]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][17]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][18]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][19]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][20]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][21]);
- PlayerTextDrawShow(playerid, JuegoOtacon[playerid][22]);
- SelectTextDraw(playerid, 0xFFC70055);
- return 1;
- }
- return 0;
- }
- /*
- [FS] Juego Ta-Te-Ti SA-MP By OTACON
- Autor: OTACON
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement