Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. function cancelDamage( attacker, weapon, bodypart )
  2.     local team = getTeamName(source)
  3.             if team == "Event Green" or team == "Event Blue" then
  4.             cancelEvent()
  5.         end
  6.     end
  7. end
  8. addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), cancelDamage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement