Advertisement
Guest User

Anti SK

a guest
Jun 10th, 2011
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8. #define INFINITY 10000000000000000000000000000000000000000
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. print("\n--------------------------------------");
  13. print(" Blank Filterscript by your name here");
  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(" Blank Gamemode by your name here");
  29. print("----------------------------------\n");
  30. }
  31.  
  32. #endif
  33. forward AntiSK();
  34.  
  35. public OnGameModeInit()
  36. {
  37. SetTimer("AntiSK",15000,true);
  38. return 1;
  39. }
  40.  
  41. public OnGameModeExit()
  42. {
  43. return 1;
  44. }
  45. public OnPlayerConnect(playerid)
  46. {
  47. return 1;
  48. }
  49.  
  50. public OnPlayerDisconnect(playerid, reason)
  51. {
  52. return 1;
  53. }
  54.  
  55. public OnPlayerSpawn(playerid)
  56. {
  57. return 1;
  58. }
  59.  
  60. public OnPlayerCommandText(playerid, cmdtext[])
  61. {
  62. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  63. {
  64. // Do something here
  65. return 1;
  66. }
  67. return 0;
  68. }
  69. public AntiSK();
  70. {
  71. SetPlayerHealth(playerid,INFINITY);
  72. return 1;
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement