Mathewjknott
Well-Known Member
what would the code be to knock out zombies as well but not buildings?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This was working completely fine, until I added:
[1.7.6.1] New Antihack Script
http://opendayz.net/threads/1-7-6-1-new-antihack-script.8552/
Now when players have the crowbar in their hands, we do not get the scroll option for knockout.
Can anyone confirm or deny that the Antihack script is stopping it from working?
s_player_knockout
also im pretty sure i added it right for taviana.com and it don't work![]()
can you help me get it working on tavania please ? thanks !I have this working on taviana 2.0. PM me if you'd like.
i put all the stuff in knock out comes up but just bend over and the guy you knockout has nothing done to him any ideas?
I have successfully installed this into my server with all the addons I use, including basebuilding... but i had to install it slightly different. I can share the differences i used if anyone has tried to add this while using basebuilding. The new way i used uses less of the original dayz_code and adds the lines into the basebuilding, except for the Event Handler wich you must create a one line sqf for it.
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
call compile preprocessFileLineNumbers "dayz_code\init\variables.sqf"; //Initializes custom variables
call compile preprocessFileLineNumbers "dayz_code\init\publicEH.sqf";
call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf"; //Compile custom compiles
call compile preprocessFileLineNumbers "dayz_code\init\settings.sqf"; //Initialize custom clientside settings
progressLoadingScreen 1.0;
building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
The rest of the tutorial is essentially the same. I just moved the publicEH.sqf to make it much smaller as i have a nearly 5mb mission file already, mostly from pictures in basebuilding.