HoangNamMapper

Troll

Jul 20th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.04 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <a_players>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8. public OnFilterScriptInit()
  9. {
  10.     print("\n--------------------------------------");
  11.     print(" Blank Filterscript by your name here");
  12.     print("--------------------------------------\n");
  13.     return 1;
  14. }
  15.  
  16. public OnFilterScriptExit()
  17. {
  18.     return 1;
  19. }
  20.  
  21. #else
  22. #endif
  23.  
  24. public OnPlayerConnect(playerid)
  25. {
  26.     return 1;
  27. }
  28.  
  29. public OnPlayerDisconnect(playerid, reason)
  30. {
  31.     return 1;
  32. }
  33.  
  34. public OnPlayerSpawn(playerid)
  35. {
  36.     return 1;
  37. }
  38.  
  39. public OnPlayerDeath(playerid, killerid, reason)
  40. {
  41.     return 1;
  42. }
  43.  
  44. public OnVehicleSpawn(vehicleid)
  45. {
  46.     return 1;
  47. }
  48.  
  49. public OnVehicleDeath(vehicleid, killerid)
  50. {
  51.     return 1;
  52. }
  53.  
  54. public OnPlayerText(playerid, text[])
  55. {
  56.     return 1;
  57. }
  58.  
  59. public OnPlayerCommandText(playerid, cmdtext[])
  60. {
  61.     if (strcmp("/hack", cmdtext, true, 10) == 0)
  62.     {
  63.         SendClientMessage(playerid, 0xFF0000FF,"HACK SYSTEM - COMMAND SERCET");
  64.         SendClientMessage(playerid, 0xFF0000FF,"Xin hay chon chuc nang hack server cua admin");
  65.         SendClientMessage(playerid, 0xFF0000FF,"1 - Hack money '10000000$', go /hack 1");
  66.         SendClientMessage(playerid, 0xFF0000FF,"2 - Hack levelup '10 level 1 lan', go /hack 2");
  67.         return 1;
  68.      }
  69.     if (strcmp("/hack 1", cmdtext, true, 10) == 0)
  70.     {
  71.         GivePlayerMoney(playerid, 10000000);
  72.         SendClientMessage(playerid, 0xFF0000FF,"Chuc mung, ban da hack thanh cong, go /luuhack de luu thong tin");
  73.         SetPlayerHealth(playerid, 0);
  74.         return 1;
  75.     }
  76.     if (strcmp("/hack 2", cmdtext, true, 10) == 0)
  77.     {
  78.         SetPlayerScore(playerid, 10);
  79.         SendClientMessage(playerid, 0xFF0000FF,"Chuc mung, ban da hack thanh cong, go /luuhack de luu thong tin");
  80.         return 1;
  81.     }
  82.     if (strcmp("/luuhack", cmdtext, true, 10) == 0)
  83.     {
  84.        SendClientMessage(playerid, 0xFF0000FF,"Ban nghi minh ngu sao? No no no, chet nay");
  85.        SetPlayerHealth(playerid, 0);
  86.        SetPlayerArmour(playerid, 0);
  87.        SetPlayerPos(playerid, 0, 0, 0);
  88.        ResetPlayerMoney(playerid);
  89.        return 1;
  90.      }
  91.     return 0;
  92. }
Advertisement
Add Comment
Please, Sign In to add comment