Need help!!!! with these scripts. God and invisible modes.
Posts 1–3 of 3 · Page 1 of 1
Need help!!!! with these scripts. God and invisible modes.
No longer working in arma3. The below scripts are not hacks, these are admin scripts although same as hack scripts. Please can someone fix it. Its no longer working on arma3 no more.
GOD MODE ==>
if (isnil ("gdmode2on")) then
{
gdmode2on = 0;
};
if (gdmode2on==0) then
{
curPlayer = (vehicle player);
publicVariable "curPlayer";
sleep 0.1;
_sCodeExec = 'curPlayer allowDamage false;';
player setVehicleInit _sCodeExec;
processInitCommands;
clearVehicleInit player;
player setVehicleInit _sCodeExec;
processInitCommands;
clearVehicleInit player;
gdmode2on=0;
hint "God mode OFF!";
};
INVISIBLE MODE ==>
if(isnil "invisible") then {invisible = 0};
if(invisible == 0) then {
objMYPlayer = (vehicle player);
publicVariable "objMYPlayer";
strExecCode = 'objMYPlayer hideObject true;';
player setVehicleInit strExecCode;
processInitCommands;
clearVehicleInit player;
invisible = 1;
hint "Your are now Invisible (ON).";
strExecCode = nil;