Documentation
Optional Addon

Vcore-rentals

Configure locations in `config.lua` using the Rayka-style `Config.Rentals` list. Each location needs a unique `id`, NPC and spawn coordinates, a `returnGroup`, blip settings and one or more vehicle categories. The optional `interaction = { coords = vector3(...), radius = 1.4 }` block places the customer prompt independently from the NPC, which is useful when the rental clerk stands behind a desk. If omitted, the prompt falls back to `npcCoords`. Vehicle images are derived from each vehicle's `model` and loaded remotely. No image path is needed in vehicle entries. A missing remote image displays the VCORE fallback mark. Players use the VCORE E prompt at a rental NPC, pay from their primary bank account and receive temporary vehicle access plus metadata-bound `rental_papers`. They can return

Introduction

Configure locations in `config.lua` using the Rayka-style `Config.Rentals` list. Each location needs a unique `id`, NPC and spawn coordinates, a `returnGroup`, blip settings and one or more vehicle categories. The optional `interaction = { coords = vector3(...), radius = 1.4 }` block places the customer prompt independently from the NPC, which is useful when the rental clerk stands behind a desk. If omitted, the prompt falls back to `npcCoords`. Vehicle images are derived from each vehicle's `model` and loaded remotely. No image path is needed in vehicle entries. A missing remote image displays the VCORE fallback mark. Players use the VCORE E prompt at a rental NPC, pay from their primary bank account and receive temporary vehicle access plus metadata-bound `rental_papers`. They can return

Version: 1.0.0Optional Resource4 Lua files0 SQL files

Dependencies

DependencyStatus
coreIncluded Vcore resource
polyzoneIncluded Vcore resource
bankingIncluded Vcore resource
inventoryIncluded Vcore resource
vehiclelocksIncluded Vcore resource
fuelIncluded Vcore resource

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure rentals

Configuration

Config files

  • config.lua

Detected config keys

  • DeleteVehiclesOnStop
  • InteractionDistance
  • KeyDurationSeconds
  • PapersItem
  • Rentals
  • ReturnRefundPercent
  • ReturnVehicleDistance
  • ServerValidationDistance
  • SessionSeconds
  • SpawnClearance
  • VehicleImageBaseUrl

Events & Exports

Exports

No exports are documented for this resource.

Callbacks

No callbacks are documented for this resource.

Registered network events

clientVCORE:Client:OnPlayerUnload

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientrentals:client:open

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientrentals:client:result

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientrentals:client:vehicleReady

Registered event for this resource. Confirm the expected payload and intended scope before using it.

serverrentals:server:open

Registered event for this resource. Confirm the expected payload and intended scope before using it.

serverrentals:server:rent

Registered event for this resource. Confirm the expected payload and intended scope before using it.

serverrentals:server:return

Registered event for this resource. Confirm the expected payload and intended scope before using it.

Commands

No registered commands were detected.

Database / SQL

SQL files

None detected in source.

Detected tables

None detected in source.

Troubleshooting

  • Confirm every manifest dependency above is started first.
  • Import the SQL where the resource includes database files.
  • Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
  • Do not copy internal event names into integrations without checking their implementation.