DRW Posted April 12, 2015 Share Posted April 12, 2015 Hi, I would like to know how can I set all the map zone to PvE so you can't get damaged by a player but by a zombie and also how to set a presonalizable part of the map to have PvP. There must be a resource out there but I keep googling it and I found nothing. Thanks Link to comment
xXMADEXx Posted April 12, 2015 Share Posted April 12, 2015 You can use onClientPedDamage, then check to see if the attacker was another player, and if it is then use cancelEvent to cancel the damage effect. Link to comment
DRW Posted April 13, 2015 Author Share Posted April 13, 2015 You can use onClientPedDamage, then check to see if the attacker was another player, and if it is then use cancelEvent to cancel the damage effect. I don't know how to make that work for a specific zone, could you give me an example? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now