Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- locations:
- onPlayerShootPlayer (or whatever the event's called)
- if(location == head){
- head
- if(victim.wearing(SWAT_HELMET_ID))
- victim.setHealth(-50);
- else
- victim.die();
- string ame = format("* %s's head has blown off.", victim.getName());
- }
- else
- string ame = format("* %s has been shot in the %s.", victim.getName(), bodyPartName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement