Jump to content

allowing custom 'killed' event handlers


Ghostrider-GRG

Recommended Posts

How would one go about allowing a custom event handler with the antihack running for ver 0.3.8.0. I have tried the following which resulted in a string of AH logs indicating that specific players were banned. This ban has showed up for all players. Any input is much appreciated in advance. What I tried is shown below:

In epoch.altis\epoch_config\Configs\CfgEpochClient.hpp

look for line 69

Killed          = "_this call EPOCH_fnc_playerDeath;";

and change it to this:

 Killed          = "_this call EPOCH_fnc_playerDeath;HALV_playerDied = [_this select 0,_this select 1];publicVariable 'HALV_playerDied';";

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...