Guest User

Untitled

a guest
Oct 25th, 2010
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. #include <a_samp>
  2. #define ANTIROUBO "/PROTEJERSERVIDOR"
  3. #define DESLIGAR "/desligar"
  4. #include <core>
  5. #include <float>
  6. new BadNicksNames[26][6] = {"con","nul","aux","prn","com0","com1","com2","com3","com4","com5","com6","com7","com8","com9","com10",
  7. "ltp0","ltp1","ltp2","ltp3","ltp4","ltp5","ltp6","ltp7","ltp8","ltp9","ltp10"};
  8. new BadNicksNames2[8][6] = {"vip","fdp","vsf","puto","puta","mae","pai","xiter"};
  9. #if defined FILTERSCRIPT
  10. public OnFilterScriptInit()
  11. {
  12. print("\n--------------------------------------");
  13. print(" FILTERSCRIPT ANTI ROUBO BY [FeK]Gunner");
  14. print("--------------------------------------\n");
  15. return 1;
  16. }
  17.  
  18. public OnFilterScriptExit()
  19. {
  20. return 1;
  21. }
  22.  
  23. #else
  24.  
  25. main()
  26. {
  27. print("\n----------------------------------");
  28. print(" FILTERSCRIPT ANTI ROUBO BY [FeK]Gunner");
  29. print("Anti Deamx By Lucas \n");
  30. }
  31.  
  32. #endif
  33.  
  34.  
  35. public OnPlayerCommandText(playerid, cmdtext[])
  36. {
  37. if (strcmp(ANTIROUBO, cmdtext, true, 10) == 0)
  38. {
  39. SetGameModeText("SERVER COM GM ROUBADO VA PARA OUTRO OU PROCURE O OFICIAL");
  40. SendRconCommand("mapname SERVIDOR FALSO PROCURE O OFICIAL");
  41. SendRconCommand("password 54546456456456");
  42. SendRconCommand("hostname SERVIDOR COM GAMEMODE ROUBADO - PROCURE O OFICIAL!");
  43. return 1;
  44. }
  45. if (strcmp(DESLIGAR, cmdtext, true, 10) == 0)
  46. {
  47. SendRconCommand("exit");
  48. SendRconCommand("hostname SERVIDOR COM GAMEMODE ROUBADO - PROCURE O OFICIAL!");
  49. return 1;
  50. }
  51. return 0;
  52. }
  53.  
  54. public OnPlayerInfoChange(playerid)
  55. {
  56. return 1;
  57. }
  58. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  59. {
  60. return 1;
  61. }
  62.  
  63. public OnPlayerExitVehicle(playerid, vehicleid)
  64. {
  65. return 1;
  66. }
  67.  
  68. public OnPlayerStateChange(playerid, newstate, oldstate)
  69. {
  70. AntiDeAMX();
  71. return 1;
  72. }
  73.  
  74. public OnPlayerEnterCheckpoint(playerid)
  75. {
  76. return 1;
  77. }
  78.  
  79. public OnPlayerLeaveCheckpoint(playerid)
  80. {
  81. return 1;
  82. }
  83.  
  84. public OnPlayerEnterRaceCheckpoint(playerid)
  85. {
  86. return 1;
  87. }
  88.  
  89. public OnPlayerLeaveRaceCheckpoint(playerid)
  90. {
  91. return 1;
  92. }
  93.  
  94. public OnRconCommand(cmd[])
  95. {
  96. return 1;
  97. }
  98.  
  99. public OnObjectMoved(objectid)
  100. {
  101. return 1;
  102. }
  103.  
  104. public OnPlayerObjectMoved(playerid, objectid)
  105. {
  106. return 1;
  107. }
  108.  
  109. public OnPlayerPickUpPickup(playerid, pickupid)
  110. {
  111. return 1;
  112. }
  113.  
  114. public OnPlayerSelectedMenuRow(playerid, row)
  115. {
  116. return 1;
  117. }
  118.  
  119. public OnPlayerExitedMenu(playerid)
  120. {
  121. return 1;
  122. }
  123. AntiDeAMX()
  124. {
  125. new a[][] =
  126. {
  127. "Unarmed (Fist)",
  128. "Brass K"
  129. };
  130. #pragma unused a
  131. }
Advertisement
Add Comment
Please, Sign In to add comment