mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Reveal new vehicle class after upgrade
Fixes not being able to access the vehicle immediately after upgrading.
This commit is contained in:
@@ -129,6 +129,7 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
publicVariableServer "PVDZE_veh_Upgrade";
|
publicVariableServer "PVDZE_veh_Upgrade";
|
||||||
|
|
||||||
cutText [(localize "STR_EPOCH_VEHUP_SUCCESS"), "PLAIN DOWN"];
|
cutText [(localize "STR_EPOCH_VEHUP_SUCCESS"), "PLAIN DOWN"];
|
||||||
|
{player reveal _x;} count (nearestObjects [player,["AllVehicles"],30]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user