mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
7 lines
209 B
Plaintext
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];
|
|
};
|
|
}; |