♻️Exports

With these exports, you will be able to manipulate the system from scripts external to it.


Client Exports

chevron-rightparkVehiclehashtag
exports['origen_parking']:parkVehicle(vehicle)

Manually park a vehicle

chevron-rightunparkVehiclehashtag
exports['origen_parking']:unparkVehicle(data) -- data = {plate or entity}

Unparking a vehicle

chevron-rightisVehicleParkedhashtag
exports['origen_parking']:isVehicleParked(data) -- data = {plate or entity}

Obtain if the vehicle is parked or not

chevron-rightconfiscateVehiclehashtag
exports['origen_parking']:confiscateVehicle(data) -- data = (plate or entity)

Confiscate a vehicle

chevron-righttoggleLocalParkinghashtag
exports['origen_parking']:toggleLocalParking(state) -- state = true or false

Activating or deactivating the parking system locally

Server Exports

chevron-rightconfiscateVehiclehashtag

Confiscate a vehicle

Last updated