Advertisement
maramizo

Untitled

Jan 21st, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. locations:
  2. onPlayerShootPlayer (or whatever the event's called)
  3. if(location == head){
  4. head
  5. if(victim.wearing(SWAT_HELMET_ID))
  6. victim.setHealth(-50);
  7. else
  8. victim.die();
  9. string ame = format("* %s's head has blown off.", victim.getName());
  10. }
  11. else
  12. string ame = format("* %s has been shot in the %s.", victim.getName(), bodyPartName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement