public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { if(hittype==BULLET_HIT_TYPE_PLAYER && GetPlayerWeapon(playerid)==23){//colt return 0; //prevents player taking damage } return 1; }