Entity-07-Disarming Zones 
17 comments This is intended to complement with the Entity series by
Pseudon.
What is a Disarming Zone?
A disarming zone is a specific area that disarms the players entering, and later giving him back all his stuffs when he leaves the zone.
How to use it?
You have to specify an area in your map that is designated to be disarming zones. It is easy, just find the coordinate of the tiles and MINUS 1 to the value before you put that down to the script.
For example I want 0 to 11 to be the zones, put down 1 and 10.
Can I please see how it actually works?
Sure, here you are.
A map for testing is included for you to test it.
Use it freely as you wish, no permission needed.
Other files you might want to use:
You Deserve a Better Round (4)
Enhanced P228 Admin Script (6)
Better Unlimited Building (7)


A disarming zone is a specific area that disarms the players entering, and later giving him back all his stuffs when he leaves the zone.

You have to specify an area in your map that is designated to be disarming zones. It is easy, just find the coordinate of the tiles and MINUS 1 to the value before you put that down to the script.
For example I want 0 to 11 to be the zones, put down 1 and 10.
Code:
specifies the zones, you notice there are 2 brackets? Yes. You can input multiple zones, just add another bracket when you want to do that. The first 2 values specify the minimum x and the maximum x, followed by the minimum y and the maximum y.1
DisArm = {{1, 10, 1, 10}}

Sure, here you are.
A map for testing is included for you to test it.
Use it freely as you wish, no permission needed.
Other files you might want to use:






edited 5×, last 03.10.19 09:22:10 am

Comments
17 comments



Log in!
You need to log in to be able to write comments!Log in
Oh damn it. I didn't look closely in the cheat sheet 
My apology.
Edit: Done, added that thingy.

My apology.
Edit: Done, added that thingy.
edited 1×, last 05.07.17 02:58:56 pm

@
Talented Doge: i think it's possible, just use player(id,"weapon") or type?
and save this into table(array, w/e) and set this weapon after equip via
setweapon.

and save this into table(array, w/e) and set this weapon after equip via

@
Dousea: It should be easy to change the ammo counts, but it isn't easy to see how many are left and I am too lazy to invest more time in finding ammo counts. I would highly appreciate if you would put your time in an easier way to find ammo counts.
@
Waldin: : It isn't possible now I think, because currently there is no server side command to do that.
@
GeoB99: It is a disarming zone, rather than a safezone. It is intended to disarm players purely. Of course you can use it along with other safezone scripts.

@

@

edited 1×, last 05.07.17 03:04:16 pm

Great. I'm wondering if this one returns my equipments with the ammos I had or just refills it?

@
Masea: Yeah, but some people are too dumb and most likely they'd go in a fight with knife which is quite problematic. This is of course only my opinion, you can prove it otherwise if you want
Get my point?



Do not forget this is a disarming zone, not a safe zone. So your suggestion is a bit deviating.

Neat idea, nothing much to say. However you can still hurt other players due to the fact that it's technically impossible to strip the knife without having at least one item in hand. You could use
hit and return 1 whenever a player approaches the disarming zone.
By the way, I have removed the unrelated screenshot because it doesn't showcase your script at all. It's viable to post few screenshots of your script because the image hoster might get down someday or other people unable to see the GIF.

By the way, I have removed the unrelated screenshot because it doesn't showcase your script at all. It's viable to post few screenshots of your script because the image hoster might get down someday or other people unable to see the GIF.



