DRW Posted April 12, 2015 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 Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
xXMADEXx Posted April 12, 2015 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. The Ultimate Lua Tutorial! | MTA PHP SDK
DRW Posted April 13, 2015 Author 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? Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
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