Skip to main content
All exports available on the server.

BuySpot

Buys a parking spot for a player using server-side validation and payment logic. Server
exports.worry_vpark:BuySpot(source)
ParameterTypeRequiredDescription
sourcenumberYesThe player source (server ID).
Returns
  • success (boolean)
  • reason (string)
  • insertId (number | nil) — parking row id when purchase succeeds

StoreVehicle

Marks an owned vehicle as stored in garage state without charging impound. Server
exports.worry_vpark:StoreVehicle(source, plate)
ParameterTypeRequiredDescription
sourcenumberYesThe player source (server ID).
platestringYesVehicle plate to store.
Returns
  • success (boolean)
  • reason (string)

ImpoundVehicle

Moves an owned vehicle back to garage state, optionally charging impound. Server
exports.worry_vpark:ImpoundVehicle(source, plate, chargePlayer)
ParameterTypeRequiredDescription
sourcenumberYesThe player source (server ID).
platestringYesVehicle plate to impound/store.
chargePlayerbooleanNotrue = charges Config.Impound; false/nil = free.
Returns
  • success (boolean)
  • reason (string)
  • amountCharged (number)
Looking for an export we don’t have listed here? Contact us and we’ll do what we can!