Shooting bots in the safezone annoy me and my players greatly, I've tried to remove them with a help of some type of nuker zed script but the scripts is calling by sensors in mission.sqm to decrease server load, but I have a problem that traders also dissaper.
Here is the script i used to remove bots:
if (isNil "zombiefree") then {
zombiefree = false;
};
while {zombiefree} do {
_entity_array = (getPos player) nearEntities ["CAManBase",110];
{
if (_x isKindof "zZombie_Base") then {
deletevehicle _x;
};
if (! isPlayer _x ) then {
deletevehicle _x;
};
} forEach _entity_array;
sleep 3;
};
Is there a posibility to force it delete only bots?
I don't really know which bots are exactly used? because I have a folder called DZAI ut also I have reference about sarge in my server_cleanup.fsm
While searching the answer I have seen in my dzai_config a DZAI_dynBlacklist = []; but I have DZAI_V2dynSpawns = true; so it wouldn't work, although I amalso interesting how to add my safezones to DZAI_dynBlacklist = []; for future.
Thanks beforehand and sorry for my English it is not my native language, hello from Kiev, Ukraine =)
Question
ka3ant1p
Link to comment
Share on other sites
5 answers to this question
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