♻️Exports

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


Client Exports

parkVehicle
exports['origen_parking']:parkVehicle(vehicle)

Manually park a vehicle

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

Unparking a vehicle

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

Obtain if the vehicle is parked or not

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

Confiscate a vehicle

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

Activating or deactivating the parking system locally

Server Exports

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

Confiscate a vehicle

Last updated