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.
Will doOk thanks a lot... If you could include what you do to fix it as well for future reference that would be nice![]()
i have you need to open admintools\vehicle\XXX.sqf and make sure@FallingSheep have you gotten a chance to look at that code yet?
_spwnveh setVariable ["Sarge",1,true]; is on the end of each one
_spawn = "A10";
_posplr = [((getPos player) select 0) + 2, ((getPos player) select 1) + 2, 0];
_dirplr = getDir player;
_spwnveh = _spawn createVehicle (_posplr);
_spwnveh setVariable ["Sarge",1,true];
"//Check for hackers" \n
" {" \n
" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {
" \n
" diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
" (vehicle _x) setDamage 1;" \n
" _x setDamage 1;" \n
" };" \n
" } forEach allUnits;" \n
"" \n
"//Check for hackers" \n
//" {" \n
//" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {
//" \n
//" diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));
//" \n
//" (vehicle _x) setDamage 1;" \n
//" _x setDamage 1;" \n
//" };" \n
//" } forEach allUnits;" \n
//"" \n
Dam, ok I'll test different way and post new server.pbo when workingNope its still killing me, same error in RPT
_keep = _x getVariable ["permaLoot",false]
_keep = _x getVariable ["permaLoot",false] || (_x getVariable ["Sarge",0] == 1);
i know its for testing if its the culpritcommetning the section out in the cleanup.fsm is the dirty way sheep
its in your dayz_server/server_functions.sqf:
search for:
Code:_keep = _x getVariable ["permaLoot",false]
replace the whole line with:
shoud be doneCode:_keep = _x getVariable ["permaLoot",false] || (_x getVariable ["Sarge",0] == 1);