Teleporting w/ Admin tools epoch 1.0.3.1

On 1.0.3.1 we have the Admin tools working fine but had to make some changes. The antihack is an antiteleport so we have disabled it.

Just comment out the [] execVM [] execVM "\z\addons\dayz_code\system\antihack.sqf";

The boxes (weapons, building supplies, etc) despawned after a few min until we added the following for each crate:

_crate2 setVariable ["permaLoot",true];

the temporarily spawned vehicles would kill a player until we added the following for each vehicle:

_spwnveh setVariable ["Sarge",1,true];
 
quote from Axe Cop:
"Epoch uses a custom anti hack since 1.0.3, in the init.sqf:
Code:
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
on my server i just disable it for admins, so if you are admin it doesn't execute the script at all!
tongue.png

something like this
Code:
if (not admin) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};
that simple
biggrin.png
"

Solved it! thank you Axe Cop
How does it know if your an admin?
 
Matt2K,

You would need to define an array listing the UID for any admins:

AdminList = ["zzz","zzz];

You would need to define Admin using something like this

Admin = (getPlayerUID player) in AdminList;
 
Back
Top