Epoch/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf
2015-09-14 15:55:36 -05:00

7 lines
209 B
Plaintext

closeDialog 0;
if (!isNull cursorTarget) then {
_vehicles = player nearEntities[["LandVehicle", "Ship", "Air", "Tank"], 6];
if (cursorTarget in _vehicles) then {
player action["Gear", cursorTarget];
};
};