In a specfic area , players wont be able to dmg each other
#2

Well there are multiple ways of doing this.

OnPlayerTakeDamage
- if(issuerid != INVALID_PLAYER_ID), Give the player back the health they lost.

SetPlayerTeam
When the player enters the certain area, set their team to a specific number. They won't be able to damage any other players on the same team. So they won't be able to damage anyone in the same area. Don't forget to reset the players team to NO_TEAM when they leave the area though.
Reply


Messages In This Thread
In a specfic area , players wont be able to dmg each other - by Beasthian - 31.03.2016, 03:44
Re: In a specfic area , players wont be able to dmg each other - by Threshold - 31.03.2016, 04:39
Re: In a specfic area , players wont be able to dmg each other - by Mencent - 31.03.2016, 09:19

Forum Jump:


Users browsing this thread: 3 Guest(s)