ihatetn931
Well-Known Member
I use pwnzors software on vanalla dayz, don't like epoch that much since the zombies can hit you miles away but then again i don't like the current vanailla dayz since zombies have became way over powered
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.
I use pwnzors software on vanalla dayz, don't like epoch that much since the zombies can hit you miles away but then again i don't like the current vanailla dayz since zombies have became way over powered
_type = typeOf _target;
_hitpoints = _target call vehicle_getHitpoints;
{
_selection = getText(configFile >> "cfgVehicles" >> _type >> "HitPoints" >> _x >> "name");
[_target, _selection, 0, true] call fnc_veh_handleRepair;
PVDZ_veh_Save = [_target,"repair"];
if (isServer) then {
PVDZ_veh_Save call server_updateObject;
} else {
publicVariableServer "PVDZ_veh_Save";
};
sleep 0.5;
} forEach _hitpoints;
My scirpt repairs the vehicle it's just not reparing the hitpoints, i don't see why it's giving me errors with the hitpoints tho it makes no sense to me.
the code i gave you repairs the hit points and saves it to the server or is supposed to anyway replace the script vampire gave you with mine and let me know how it goes as i dont have a vanilla server to test on
It works, thank you for the help
if (!isDedicated) then {
[] execVM "Scripts\kh_actions_refuel.sqf";
[] execVM "Scripts\kh_actions_repair.sqf";