whereiaml_vehicleshop
Exports & Locales
Integration surface, localization and tooling.
Exports
The resource is self-contained and config-driven — it does not require any exports to operate. There is no public export you need to call from other resources.
Localization
All user-facing text is in locales/<locale>.json. English (en) and German (de)
ship by default. To add a language, copy en.json and translate the values. Notification
text is shared by both the custom and framework notification modes.
Key strings include:
| Key | Used for |
|---|---|
notify_title | Title of custom notifications. |
target_browse | The ox_target option label. |
purchase_success / purchase_financed | Successful purchase (%s = vehicle name). |
not_enough_money / vehicle_failed | Purchase failures. |
testdrive_failed / testdrive_over | Test drive messages. |
finance_charged / finance_paid_off / finance_missed / finance_repossessed | Finance lifecycle (cron). |
Commands
| Command | Description |
|---|---|
/myloans | Opens a panel listing the player's financed vehicles (balance, installment, payments left) with an option to pay a loan off early. |
Finance lifecycle
Financed vehicles are billed by an ox_lib cron job (finance.paymentCron). On each run
the resource charges the installment, and after finance.maxMissedPayments missed
payments the vehicle is repossessed. Players can pay a loan off early from the UI.