Admin Menu Not Showing Up

What admin menu are you using?

You need to look for the spawn script of the vehicle and add something like this:
_vehicle setvariable ["Sarge",1,true];
(Scripted trough phone, could be wrong but it shows you what I mean ;))

If you set an other variable as an exception then just change "Sarge" to your Variable e.g. "Penguin" or something else ;D
 
@FallingSheep have you gotten a chance to look at that code yet?
i have you need to open admintools\vehicle\XXX.sqf and make sure
Code:
_spwnveh setVariable ["Sarge",1,true]; is on the end of each one
EG spawn a10 looks like this
Code:
_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];

also get in vehicle let it explode and post your RPT
 
Well that line in the vehicle sqf files appears to be correct. But I'm still getting killed on vehicle entry.

I believe this is what you want from the RPT:
12:59:29 "CLEANUP: KILLING A HACKER Penguinparty B 1-1-C:1 (Penguinparty) REMOTE IN Old_bike_TK_CIV_EP1"
 
ok thought so its the anti hacker clean up script :(

try this

open server_cleanup.fsm

find these lines
Code:
"//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
change to this it will disable the hacker check so if itworks
Code:
"//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
 
commetning 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:
Code:
_keep = _x getVariable ["permaLoot",false] || (_x getVariable ["Sarge",0] == 1);
shoud be done
 
Last edited:
commetning 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:
Code:
_keep = _x getVariable ["permaLoot",false] || (_x getVariable ["Sarge",0] == 1);
shoud be done
i know its for testing if its the culprit :)
 
Haha I figured it was for testing purposes....I'm pretty new to scripting stuff like this, but I've done enough other coding to know commenting out sections is a dirty work around lol :)

Anywho, any progress @FallingSheep ?
 
Back
Top