Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
- {
- if(IsPlayerAttachedObjectSlotUsed(playerid,1))
- {
- if(IsPlayerAimingTargetBodyPart(issuerid, playerid, BODY_PART_HEAD))
- {
- RemovePlayerAttachedObject(playerid,1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement