OtaconEvil

[FS] Mensaje En Movimiento Avanzado (TextDraw)

Jul 9th, 2013
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 14.77 KB | None | 0 0
  1.  
  2. /*
  3.              Prohibido TOTALMENTE el Robo de Créditos o la
  4.                 Publicación de este FS sin Mi Permiso.
  5. */
  6. /////////////////////////////////////////////////////////////////////////////////////
  7. /////////////////////////////////////////////////////////////////////////////////////
  8. /*
  9.     ---------------------------------------------------------------
  10.     |   >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--    |
  11.     |                                                             |
  12.     |                     Creado Por ØTACØN                       |
  13.     |                             &                               |
  14.     |   Gracias a Los Tutoriales de |•Ð3LT4•| y . themasternico   |
  15.     ---------------------------------------------------------------
  16.  
  17.        ----------------------------------------------------------
  18.        |      FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO      |
  19.        ----------------------------------------------------------
  20.  
  21. */
  22. /////////////////////////////////////////////////////////////////////////////////////
  23. /////////////////////////////////////////////////////////////////////////////////////
  24.  
  25. #include <a_samp>
  26.  
  27. //============================================================================//
  28. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  29. //============================================================================//
  30. new Text:Texto;
  31. new Text:Texto2;
  32. new string[256];
  33. new InLetter = 0;
  34. new InLetter2 = 0;
  35. //============================================================================//
  36. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  37. //============================================================================//
  38. public OnFilterScriptInit()
  39. {
  40.     Texto = TextDrawCreate(86.000000, 302.000000, "_");
  41.     TextDrawAlignment(Texto, 2);
  42.     TextDrawBackgroundColor(Texto,255);
  43.     TextDrawFont(Texto, 2);
  44.     TextDrawLetterSize(Texto, 0.260000, 1.799999);
  45.     TextDrawColor(Texto, -1);
  46.     TextDrawSetOutline(Texto, 1);
  47.     TextDrawSetProportional(Texto, 1);
  48.     TextDrawSetShadow(Texto, 1);
  49.     SetTimer("TextOnMove",100,true);
  50.    
  51.     Texto2 = TextDrawCreate(97.000000, 321.000000, "_");
  52.     TextDrawAlignment(Texto2, 2);
  53.     TextDrawBackgroundColor(Texto2,255);
  54.     TextDrawFont(Texto2, 2);
  55.     TextDrawLetterSize(Texto2, 0.170000, 1.499999);
  56.     TextDrawColor(Texto2, -1);
  57.     TextDrawSetOutline(Texto2, 1);
  58.     TextDrawSetProportional(Texto2, 1);
  59.     TextDrawSetShadow(Texto2, 1);
  60.     SetTimer("TextOnMove2",100,true);
  61.     return 1;
  62. }
  63. //============================================================================//
  64. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  65. //============================================================================//
  66. public OnPlayerDisconnect(playerid, reason)
  67. {
  68.     TextDrawHideForPlayer(playerid, Texto);
  69.     TextDrawHideForPlayer(playerid, Texto2);
  70.     return 1;
  71. }
  72. //============================================================================//
  73. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  74. //============================================================================//
  75. public OnPlayerSpawn(playerid)
  76. {
  77.     TextDrawShowForPlayer(playerid, Texto);
  78.     TextDrawShowForPlayer(playerid, Texto2);
  79.     return 1;
  80. }
  81. //============================================================================//
  82. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  83. //============================================================================//
  84. forward TextOnMove();
  85. public TextOnMove()
  86. {
  87.    if(InLetter == 0)       { format(string,sizeof(string),"~w~P~r~awnoScripting", InLetter ++); TextDrawSetString(Texto, string); }
  88.    else if(InLetter == 1)  { format(string,sizeof(string),"~w~Pa~r~wnoScripting", InLetter ++); TextDrawSetString(Texto, string); }
  89.    else if(InLetter == 2)  { format(string,sizeof(string),"~w~Paw~r~noScripting", InLetter ++); TextDrawSetString(Texto, string); }
  90.    else if(InLetter == 3)  { format(string,sizeof(string),"~w~Pawn~r~oScripting", InLetter ++); TextDrawSetString(Texto, string); }
  91.    else if(InLetter == 4)  { format(string,sizeof(string),"~w~Pawno~r~Scripting", InLetter ++); TextDrawSetString(Texto, string); }
  92.    else if(InLetter == 5)  { format(string,sizeof(string),"~w~PawnoS~r~cripting", InLetter ++); TextDrawSetString(Texto, string); }
  93.    else if(InLetter == 6)  { format(string,sizeof(string),"~w~PawnoSc~r~ripting", InLetter ++); TextDrawSetString(Texto, string); }
  94.    else if(InLetter == 7)  { format(string,sizeof(string),"~w~PawnoScri~r~pting", InLetter ++); TextDrawSetString(Texto, string); }
  95.    else if(InLetter == 8)  { format(string,sizeof(string),"~w~PawnoScrip~r~ting", InLetter ++); TextDrawSetString(Texto, string); }
  96.    else if(InLetter == 9)  { format(string,sizeof(string),"~w~PawnoScript~r~ing", InLetter ++); TextDrawSetString(Texto, string); }
  97.    else if(InLetter == 10) { format(string,sizeof(string),"~w~PawnoScripti~r~ng", InLetter ++); TextDrawSetString(Texto, string); }
  98.    else if(InLetter == 11) { format(string,sizeof(string),"~w~PawnoScriptin~r~g", InLetter ++); TextDrawSetString(Texto, string); }
  99.    else if(InLetter == 12) { format(string,sizeof(string),"~w~PawnoScripting~r~", InLetter ++); TextDrawSetString(Texto, string); }
  100.    else if(InLetter == 13) { format(string,sizeof(string),"~w~PawnoScriptin~g~g", InLetter ++); TextDrawSetString(Texto, string); }
  101.    else if(InLetter == 14) { format(string,sizeof(string),"~w~PawnoScripti~g~ng", InLetter ++); TextDrawSetString(Texto, string); }
  102.    else if(InLetter == 15) { format(string,sizeof(string),"~w~PawnoScript~g~ing", InLetter ++); TextDrawSetString(Texto, string); }
  103.    else if(InLetter == 16) { format(string,sizeof(string),"~w~PawnoScrip~g~ting", InLetter ++); TextDrawSetString(Texto, string); }
  104.    else if(InLetter == 17) { format(string,sizeof(string),"~w~PawnoScri~g~pting", InLetter ++); TextDrawSetString(Texto, string); }
  105.    else if(InLetter == 18) { format(string,sizeof(string),"~w~PawnoScr~g~ipting", InLetter ++); TextDrawSetString(Texto, string); }
  106.    else if(InLetter == 19) { format(string,sizeof(string),"~w~PawnoSc~g~ripting", InLetter ++); TextDrawSetString(Texto, string); }
  107.    else if(InLetter == 20) { format(string,sizeof(string),"~w~PawnoS~g~cripting", InLetter ++); TextDrawSetString(Texto, string); }
  108.    else if(InLetter == 21) { format(string,sizeof(string),"~w~Pawno~g~Scripting", InLetter ++); TextDrawSetString(Texto, string); }
  109.    else if(InLetter == 22) { format(string,sizeof(string),"~w~Pawn~g~oScripting", InLetter ++); TextDrawSetString(Texto, string); }
  110.    else if(InLetter == 23) { format(string,sizeof(string),"~w~Paw~g~noScripting", InLetter ++); TextDrawSetString(Texto, string); }
  111.    else if(InLetter == 24) { format(string,sizeof(string),"~w~Pa~g~wnoScripting", InLetter ++); TextDrawSetString(Texto, string); }
  112.    else if(InLetter == 25) { format(string,sizeof(string),"~w~P~g~awnoScripting", InLetter = 0); TextDrawSetString(Texto, string); }
  113.    return 1;
  114. }
  115. forward TextOnMove2();
  116. public TextOnMove2()
  117. {
  118.    if(InLetter2 == 0)       { format(string,sizeof(string),"~w~L~y~o Hacemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  119.    else if(InLetter2 == 1)  { format(string,sizeof(string),"~w~Lo~y~ Hacemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  120.    else if(InLetter2 == 2)  { format(string,sizeof(string),"~w~Lo H~y~acemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  121.    else if(InLetter2 == 3)  { format(string,sizeof(string),"~w~Lo Ha~y~cemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  122.    else if(InLetter2 == 4)  { format(string,sizeof(string),"~w~Lo Hac~y~emos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  123.    else if(InLetter2 == 5)  { format(string,sizeof(string),"~w~Lo Hace~y~mos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  124.    else if(InLetter2 == 6)  { format(string,sizeof(string),"~w~Lo Hacem~y~os Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  125.    else if(InLetter2 == 7)  { format(string,sizeof(string),"~w~Lo Hacemo~y~s Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  126.    else if(InLetter2 == 8)  { format(string,sizeof(string),"~w~Lo Hacemos~y~ Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  127.    else if(InLetter2 == 9)  { format(string,sizeof(string),"~w~Lo Hacemos P~y~or Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  128.    else if(InLetter2 == 10) { format(string,sizeof(string),"~w~Lo Hacemos Po~y~r Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  129.    else if(InLetter2 == 11) { format(string,sizeof(string),"~w~Lo Hacemos Por ~y~Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  130.    else if(InLetter2 == 12) { format(string,sizeof(string),"~w~Lo Hacemos Por Q~y~ue Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  131.    else if(InLetter2 == 13) { format(string,sizeof(string),"~w~Lo Hacemos Por Qu~y~e Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  132.    else if(InLetter2 == 14) { format(string,sizeof(string),"~w~Lo Hacemos Por Que~y~ Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  133.    else if(InLetter2 == 15) { format(string,sizeof(string),"~w~Lo Hacemos Por Que N~y~os Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  134.    else if(InLetter2 == 16) { format(string,sizeof(string),"~w~Lo Hacemos Por Que No~y~s Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  135.    else if(InLetter2 == 17) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos G~y~usta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  136.    else if(InLetter2 == 18) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gu~y~sta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  137.    else if(InLetter2 == 19) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gus~y~ta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  138.    else if(InLetter2 == 20) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gust~y~a", InLetter2 ++); TextDrawSetString(Texto2, string); }
  139.    else if(InLetter2 == 21) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gusta~y~", InLetter2 ++); TextDrawSetString(Texto2, string); }
  140.    else if(InLetter2 == 22) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gust~b~a", InLetter2 ++); TextDrawSetString(Texto2, string); }
  141.    else if(InLetter2 == 23) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gus~b~ta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  142.    else if(InLetter2 == 24) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos Gu~b~sta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  143.    else if(InLetter2 == 25) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos G~b~usta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  144.    else if(InLetter2 == 26) { format(string,sizeof(string),"~w~Lo Hacemos Por Que Nos ~b~Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  145.    else if(InLetter2 == 27) { format(string,sizeof(string),"~w~Lo Hacemos Por Que No~b~s Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  146.    else if(InLetter2 == 28) { format(string,sizeof(string),"~w~Lo Hacemos Por Que N~b~os Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  147.    else if(InLetter2 == 29) { format(string,sizeof(string),"~w~Lo Hacemos Por Qu~b~e Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  148.    else if(InLetter2 == 30) { format(string,sizeof(string),"~w~Lo Hacemos Por Q~b~ue Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  149.    else if(InLetter2 == 31) { format(string,sizeof(string),"~w~Lo Hacemos Por ~b~Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  150.    else if(InLetter2 == 32) { format(string,sizeof(string),"~w~Lo Hacemos Po~b~r Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  151.    else if(InLetter2 == 33) { format(string,sizeof(string),"~w~Lo Hacemos P~b~or Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  152.    else if(InLetter2 == 34) { format(string,sizeof(string),"~w~Lo Hacemos ~b~Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  153.    else if(InLetter2 == 35) { format(string,sizeof(string),"~w~Lo Hacemo~b~s Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  154.    else if(InLetter2 == 36) { format(string,sizeof(string),"~w~Lo Hacem~b~os Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  155.    else if(InLetter2 == 37) { format(string,sizeof(string),"~w~Lo Hac~b~emos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  156.    else if(InLetter2 == 38) { format(string,sizeof(string),"~w~Lo Ha~b~cemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  157.    else if(InLetter2 == 39) { format(string,sizeof(string),"~w~Lo H~b~acemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  158.    else if(InLetter2 == 40) { format(string,sizeof(string),"~w~Lo ~b~Hacemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  159.    else if(InLetter2 == 41) { format(string,sizeof(string),"~w~L~b~o Hacemos Por Que Nos Gusta", InLetter2 ++); TextDrawSetString(Texto2, string); }
  160.    else if(InLetter2 == 42) { format(string,sizeof(string),"~w~~b~Lo Hacemos Por Que Nos Gusta", InLetter2 = 0); TextDrawSetString(Texto2, string); }
  161.    return 1;
  162. }
  163. //============================================================================//
  164. //           >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--           //
  165. //============================================================================//
  166.  
  167. /////////////////////////////////////////////////////////////////////////////////////
  168. /////////////////////////////////////////////////////////////////////////////////////
  169. /*
  170.     ---------------------------------------------------------------
  171.     |   >-- [FS] Mensaje En Movimiento Avanzado (TextDraw) <--    |
  172.     |                                                             |
  173.     |                     Creado Por ØTACØN                       |
  174.     |                             &                               |
  175.     |    Gracia a Los Tutoriales de |•Ð3LT4•| y  themasternico    |
  176.     ---------------------------------------------------------------
  177.  
  178.        ----------------------------------------------------------
  179.        |      FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO      |
  180.        ----------------------------------------------------------
  181.  
  182. */
  183. /////////////////////////////////////////////////////////////////////////////////////
  184. /////////////////////////////////////////////////////////////////////////////////////
  185. /*
  186.              Prohibido TOTALMENTE el Robo de Créditos o la
  187.                 Publicación de este FS sin Mi Permiso.
  188. */
Advertisement
Add Comment
Please, Sign In to add comment