Toggle closest vehicle lock

This export can be used to manually toggle a vehicle lock

Export

exports["vehicles_keys"]:toggleClosestVehicleLock()

Example

RegisterCommand("togglelock", function(_, args)
    exports["vehicles_keys"]:toggleClosestVehicleLock()
end)

Last updated