Advertisement
Guest User

[LC-GMX] GMX Automático !

a guest
Jul 13th, 2012
982
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. /* [LC-GMX] GMX Automatico
  2. Feito por Lucas Carneiro™
  3. Não retirar os creditos por gentileza !
  4. */
  5.  
  6. #include <a_samp>
  7. #include <zcmd>
  8.  
  9. #define TEMPO_GMX 43200000 // Defina para o tempo que desejar !
  10. #define COR_VERMELHO 0xFF0000AA
  11. new Tempo;
  12.  
  13. public OnFilterScriptInit()
  14. {
  15. printf("|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|");
  16. printf("FilterScript de GMX Automatico");
  17. printf("Feito por Lucas Carneiro ");
  18. printf(" Ligado !");
  19. printf(" ");
  20. printf("|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|");
  21. Tempo = SetTimer("GMXAutomatico",TEMPO_GMX,false);
  22. return 1;
  23. }
  24.  
  25. public OnFilterScriptExit()
  26. {
  27. KillTimer(Tempo);
  28. printf("FilterScript de GMX Automatico");
  29. printf("Feito por Lucas Carneiro ");
  30. printf(" Desligado !");
  31. return 1;
  32. }
  33.  
  34. forward GMXAutomatico(playerid)
  35. public GMXAutomatico(playerid)
  36. {
  37. GameTextForAll("~b~GMX~n~~w~Automatico", 5000, 1);
  38. SendClientMessageToAll(COR_VERMELHO, "[LC-GMX] GMX Automático sendo efetuado ! Aguarde para logar !");
  39. printf("[LC-GMX] GMX Automático efetuado !");
  40. SendRconCommand("gmx");
  41. return 1;
  42. }
  43.  
  44.  
  45.  
  46. forward LimparChatAll(linhas);
  47. public LimparChatAll(linhas)
  48. {
  49. for(new i=0; i<linhas; i++)
  50. {
  51. SendClientMessageToAll(-1, " ");
  52. }
  53. return 1;
  54. }
  55.  
  56.  
  57. CMD:creditoslcgmx(playerid, params[])
  58. {
  59. SendClientMessage(playerid, COR_VERMELHO, "[LC-GMX] Sistema de GMX Automático");
  60. SendClientMessage(playerid, COR_VERMELHO, "Criado por Lucas Carneiro™ !");
  61. return 1;
  62. }
  63.  
  64. // Fim...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement