WhereiamL
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:

KeyUsed for
notify_titleTitle of custom notifications.
target_browseThe ox_target option label.
purchase_success / purchase_financedSuccessful purchase (%s = vehicle name).
not_enough_money / vehicle_failedPurchase failures.
testdrive_failed / testdrive_overTest drive messages.
finance_charged / finance_paid_off / finance_missed / finance_repossessedFinance lifecycle (cron).

Commands

CommandDescription
/myloansOpens 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.

On this page