Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Managed to get the option to open backpack disabled? This is the biggest issue on my server right now.
Private ["_Basis","_EH_Fired","_EH_Hit","_EH_Killed"];
_Basis = _this select 0; //Basisname
while {true} do
{
//wait until Player is in base, then start Eventhandler
waitUntil {vehicle player in list _Basis};
player groupchat "proteccion adquirida";
_EH_Fired = vehicle player addEventHandler ["Fired", { _this select 0 addrating -200000; removeAllWeapons player; NearestObject [_this select 0,_this select 4] setPos[0,0,0]}];
_EH_Hit = vehicle player addEventHandler ["Hit", {_this select 1 setdammage 1; player setDammage 0; vehicle player setDammage 0}];
_EH_Killed = vehicle player addEventHandler ["Killed",{_this select 1 setdammage 1}];
//wait until Player left base, then delete EventHandler
waitUntil {! (vehicle player in list _Basis)};
player groupchat "proteccion desactivada";
player removeEventHandler ["Fired", _EH_Fired];
player removeEventHandler ["Hit", _EH_Hit];
player removeEventHandler ["Killed",_EH_Killed];
}
hello,
is it possible that the dayzai npcs will get killed if they running in the safezone and shoot at players? or something like that?
this would be great.