Kill in special zone.
#1

Hello!

How do I kill sites only in an area or a red square (quite large). Kill mean to put only sites in the area covered with red. How?
Reply
#2

Use GangZoneCreate to create a red square on the map. Use IsPlayerInArea to detect whether players are inside it or not. You'll have to handle damage server-side if you want to prevent players doing damage outside (or inside? You weren't clear) this area.

To handle damage server-side, set everyone's team to 0 to disable damage, then use OnPlayerTakeDamage to manually handle damage.
Reply
#3

I want to say kill sites only red square, not out
Reply
#4

Okay then. I gave you ideas.
Reply
#5

So

I want war system, if you're in the red zone to put kill-sites, if you're outside the area not to add.
Reply
#6

UP !?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)