public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_FIRE) { if(GetPlayerWeapon(player) == ID) { Ban(playerid); } } return 1; }