29 lines
554 B
Text
29 lines
554 B
Text
|
|
if (!isServer) exitWith {};
|
|
|
|
hijack_anticheat_client = {
|
|
[] spawn {
|
|
//
|
|
sleep 60;
|
|
while {true} do {
|
|
sleep 10;
|
|
|
|
player allowDamage true;
|
|
(vehicle player) allowDamage true;
|
|
|
|
{
|
|
_x allowDamage true;
|
|
_veh = vehicle _x;
|
|
_veh allowDamage true;
|
|
if (!(_veh isKindOf "man")) then {
|
|
if (netId _veh == "0:0") then {
|
|
deleteVehicle _veh;
|
|
};
|
|
};
|
|
} forEach units group player;
|
|
};
|
|
};
|
|
};
|
|
|
|
publicVariable "hijack_anticheat_client";
|
|
remoteExecCall ["hijack_anticheat_client", -2, true];
|