Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cancelDamage( attacker, weapon, bodypart )
- local team = getPlayerTeam(source)
- if getElementType(source) == "player" then
- if team == "Event Green" or team == "Event Blue" then
- cancelEvent()
- end
- end
- end
- addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), cancelDamage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement