Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* CROSS_Hunter's Anti Weapon Hack
- *
- * © Copyright 2012, CROSS_HUNTER , sa-mp team and Wiki-SAMP
- *
- */
- #if defined _AWH_included
- #endinput
- #endif
- #include <a_samp>
- #define _AWH_included
- #pragma tabsize 0
- //----------Functions---------------
- public OnPlayerUpdate(playerid)
- {
- IlegalWeapons(playerid);
- return 1;
- }
- stock IlegalWeapons(playerid)
- {
- if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35 ||
- GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 ||
- GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 18)
- {
- Ban(playerid);
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement