MaDHouSe79 / mh-parkinglite

a lite version of mh-parking
GNU General Public License v3.0
7 stars 6 forks source link

Towing when parked #2

Closed vor777 closed 2 years ago

vor777 commented 2 years ago

Hey i was wondering if you could add in some functionality to account for if the parked vehicle is towed as currently when its taken away it just returns to the parked spot :)

many thanks!!

MaDHouSe79 commented 2 years ago

if you want that, you only need to unpark the vehicle when you want to tow it, use the unpark trigger for that ;)

TriggerServerEvent('qb-parking:server:vehicle_action_unpark', QBCore.Functions.GetPlate(vehicle))