Advertisement
Hunter_Force

ANTI CHEAT (Weapons Hack)

Sep 2nd, 2012
1,443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. /* CROSS_Hunter's Anti Weapon Hack
  2. *
  3. * © Copyright 2012, CROSS_HUNTER , sa-mp team and Wiki-SAMP
  4. *
  5. */
  6.  
  7. #if defined _AWH_included
  8. #endinput
  9. #endif
  10. #include <a_samp>
  11. #define _AWH_included
  12.  
  13. #pragma tabsize 0
  14. //----------Functions---------------
  15. public OnPlayerUpdate(playerid)
  16. {
  17. IlegalWeapons(playerid);
  18. return 1;
  19. }
  20.  
  21. stock IlegalWeapons(playerid)
  22. {
  23.  
  24. if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35 ||
  25. GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 ||
  26. GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 18)
  27. {
  28.  
  29. Ban(playerid);
  30. return 1;
  31. }
  32. return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement