Advertisement
OtaconEvil

[FS] Mensajes Automaticos 'Random' En 'Hostname'

Jul 9th, 2013
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.35 KB | None | 0 0
  1. /*
  2.              Prohibido TOTALMENTE el Robo de Créditos o la
  3.                 Publicación de este FS sin Mi Permiso.
  4. */
  5. /////////////////////////////////////////////////////////////////////////////////////
  6. /////////////////////////////////////////////////////////////////////////////////////
  7. /*
  8.     ---------------------------------------------------------------
  9.     |  >-- [FS] Mensajes Automaticos 'Random' En 'Hostname' <--   |
  10.     |                                                             |
  11.     |                      Creado Por OTACON                      |
  12.     ---------------------------------------------------------------
  13.        ----------------------------------------------------------
  14.        |      FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO      |
  15.        ----------------------------------------------------------
  16. */
  17. /////////////////////////////////////////////////////////////////////////////////////
  18. /////////////////////////////////////////////////////////////////////////////////////
  19.  
  20. //============================================================================//
  21. //          >-- [FS] Mensajes Automaticos 'Random' En 'Hostname' <--          //
  22. //============================================================================//
  23. #include <a_samp>
  24.  
  25. public OnFilterScriptInit()
  26. {
  27.     SetTimer("Mensaje",100, true);
  28.     return 1;
  29. }
  30.  
  31. forward Mensaje();
  32. public Mensaje()
  33. {
  34.     new Msg = random(9); //<---- Cambia el 9 Por La Cantidad de 'case' Creados
  35.     switch (Msg)
  36.     {
  37.        case 0: SendRconCommand("hostname - WwW.Samp-Script.Com.Ar -");
  38.        case 1: SendRconCommand("hostname - Amantes Del Pawno! -");
  39.        case 2: SendRconCommand("hostname - Unite a la Comunidad! -");
  40.        case 4: SendRconCommand("mapname - www.PawnoScripting.com -");
  41.        case 5: SendRconCommand("mapname - 5 Años Junto a Vos! -");
  42.        case 6: SendRconCommand("mapname - Unite a la Comunidad! -");
  43.        case 7: SendRconCommand("weburl - www.Web-1.com -");
  44.        case 8: SendRconCommand("weburl - www.Web-2.com -");
  45.        case 9: SendRconCommand("weburl - www.Web-3.com -");
  46.     }
  47.     return 1;
  48. }
  49. /////////////////////////////////////////////////////////////////////////////////////
  50. /////////////////////////////////////////////////////////////////////////////////////
  51. /*
  52.     ---------------------------------------------------------------
  53.     |  >-- [FS] Mensajes Automaticos 'Random' En 'Hostname' <--   |
  54.     |                                                             |
  55.     |                      Creado Por OTACON                      |
  56.     ---------------------------------------------------------------
  57.        ----------------------------------------------------------
  58.        |      FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO      |
  59.        ----------------------------------------------------------
  60. */
  61. /////////////////////////////////////////////////////////////////////////////////////
  62. /////////////////////////////////////////////////////////////////////////////////////
  63.  
  64. //============================================================================//
  65. //          >-- [FS] Mensajes Automaticos 'Random' En 'Hostname' <--          //
  66. //============================================================================//
  67. /*
  68.              Prohibido TOTALMENTE el Robo de Créditos o la
  69.                 Publicación de este FS sin Mi Permiso.
  70. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement