mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add Salivals Remote Vehicle to Epoch Core
Functions getting only loaded if DZE_Remote_Vehicle is true.
This commit is contained in:
@@ -179,6 +179,18 @@ if (!isDedicated) then {
|
||||
["ItemGPS",localize "STR_CL_CA_RANGE_DOWN","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE - 100) max 1000; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"]
|
||||
*/
|
||||
];
|
||||
|
||||
DZE_Remote_Vehicle = false; // Enable/Disable the Remote Vehicle options like ejecting players from a vehicle or lock/unlock the vehicle from the distance just by the key.
|
||||
|
||||
if (DZE_Remote_Vehicle) then {
|
||||
DZE_CLICK_ACTIONS = DZE_CLICK_ACTIONS + [
|
||||
["ItemKey",localize "STR_CL_RV_CA_EJECT","spawn remoteVehicle;","true",1],
|
||||
["ItemKey",localize "STR_CL_RV_CA_ENGINE","spawn remoteVehicle;","true",2],
|
||||
["ItemKey",localize "STR_CL_RV_CA_UNLOCK","spawn remoteVehicle;","true",3],
|
||||
["ItemKey",localize "STR_CL_RV_CA_LOCK","spawn remoteVehicle;","true",4],
|
||||
["ItemKey",localize "STR_CL_RV_CA_LIGHTS","spawn remoteVehicle;","true",5]
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
// Both
|
||||
|
||||
Reference in New Issue
Block a user