Advertisement
blankkor

Script Request by RenSoprano

Apr 4th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.26 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
  2. {
  3.     if(IsPlayerAttachedObjectSlotUsed(playerid,1))
  4.         {
  5.         if(IsPlayerAimingTargetBodyPart(issuerid, playerid, BODY_PART_HEAD))
  6.                 {
  7.                 RemovePlayerAttachedObject(playerid,1);
  8.                 }
  9.         }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement