How i can make that players can not jihad in safzone?
private ["_hasBomb","_count","_boom","_lock"];
closeDialog 0;
if (DZE_ActionInProgress) exitWith {};
if (vehicle player != player) exitWith { titleText ["WTF? You cannot shit inside a vehicle!","PLAIN"]; };
_hasBomb = "Laserbatteries" in magazines player;
_count = 10;
if (_hasBomb) then {
player removeMagazine "Laserbatteries";
titleText ["Suicide bomb activated! Countdown started!","PLAIN"];
uiSleep 4;
while {(_count > 0)} do {
titleText [format["72 virgins are yours in... %1",_count],"PLAIN"];
_count = _count -1;
uiSleep 1;
};
_pos = getPos (vehicle player);
_boom = "Bo_GBU12_LGB" createVehicle [(_pos select 0),(_pos select 1)+1,1];
_boom = "Bo_GBU12_LGB" createVehicle [(_pos select 0),(_pos select 1)+2,1];
uiSleep 3;
titleText ["","PLAIN"];
[format["%1 Used a SUICIDE BOMB at [%2]. TraderCheck: %3",name player,(mapGridPosition _pos),inTraderCity]] call my_scripts_logger;
} else {
titleText ["You need a Suicide Bomb(Laser Batteries) for this!","PLAIN DOWN"];
};