Release: Player2's Knockout

Hello there, I have this working on epoch, but I would like to disable it in safe zones, i use AGN safe zone commander

anyone got any ideas please

Thanks

Robbie
 
just place this at the right place ;)

Code:
        player removeAction s_player_knockout;
        s_player_knockout = -1;

this should remove the action while the player are in the safezone
 
it doesnt matter i think just needs to be in while do loop, but just try to put it in here:
Code:
        if ( AGN_safeZoneGodmode ) then
        {
                player_zombieCheck = {};
                fnc_usec_damageHandler = {};
                _thePlayer removeAllEventHandlers "handleDamage";
                _thePlayer addEventHandler ["handleDamage", {false}];
                _thePlayer allowDamage false;
                _inVehicle allowDamage false;
        player removeAction s_player_knockout;
        s_player_knockout = -1;
        };

and set AGN_safeZoneGodmode = true; at the top of the file. Try it out and tell me the results :D
 
Back
Top