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.
A quick one.
Open file scripts.txt in your relevant BattlEye directory and find this line
Code:5 setHit !â€\â€setHit\â€,†!â€object_setHitServer = compile preprocessFileLineNumbers \â€\z†!â€player setHit[\"legs\",1];†!â€_unit setHit[\"legs\",0];†!â€_unit setHit[\"hands\",0];†!â€_unit setHit[_selection,_damage];†!â€_total = [_unit,_hit,_damage] call object_setHitServer;†!â€_ent setVariable [\"hit_legs\",2,true];â€
Will probably be line #47… then change it like this:
Code:5 setHit !â€\â€setHit\â€,†!â€object_setHit†!â€object_setHitServer = compile preprocessFileLineNumbers \â€\z†!â€player setHit[\"legs\",1];†!â€_unit setHit[\"legs\",0];†!â€_unit setHit[\"hands\",0];†!â€_unit setHit[_selection,_damage];†!â€_total = [_unit,_hit,_damage] call object_setHitServer;†!â€_ent setVariable [\"hit_legs\",2,true];â€
Enjoy!
P.S. Oh and if you’re using BERcon.exe just type in loadScripts and you don’t have to restart the server for changes to work.