god mode domes

kris

New Member
in reference to this on the dayz.st wiki: http://dayz.st/w/Protected_Dome
i slightly modded it not to kill the player but to give the user godmode while inside the dome.

i modded the dome.sqf file like so:
Code:
titleText ["Welcome to the StrongHold, You have been given GodMode until you leave.", "PLAIN DOWN", 3];
sleep 2;
player setUnitRecoilCoefficient 0;
player_zombieCheck = {};
fnc_usec_damageHandler = {};
fnc_usec_unconscious  = {};
player allowDamage false;

but when a user exits the base, the user still has god mode.
any ideas?
thanks.
 
Back
Top