Common Issues

Pharmacist ped not showing up

This ped spawns server-side by default.

If your server has sync issues with that, set Config.ServerSidePeds = false.


Pad vs command

Use Config.ItemUse to choose between the pad item and the command.

If item mode is on, the item name must match Config.ItemName.

If command mode is on, check Config.CommandName.


Wrong jobs can open the prescription menu

Check:

  • Config.Job

  • Config.MinimumGrade

  • Config.PharmacyJob

  • Config.PharmacyJobMinimumGrade

Most access issues come from job or grade names not matching your framework.


Insurance UI is empty

Check your insurance and broker setup first.

That usually means one of these is incomplete:

  • insurance files

  • broker files

  • society settings

Also check:

  • Config.InsuranceSystem.Enabled

  • Config.InsuranceJob

  • whether the player is banned from insurance


Society never gets money

Check these first:

  • Config.PayIntoSociety

  • Config.PayIntoInsuranceSociety

  • Config.PharmacySociety

  • Config.InsuranceMoneySociety

If the society toggles are off, the income will not route to society accounts.


Narcan or lean flow not working

Make sure the item names match your config:

  • Config.NarcanItem

  • Config.CoughSyrupItem

  • Config.LeanCupItem

  • Config.SprunkItem

  • Config.LeanItem


Give meds from another script

Use the documented server exports instead of internal events:

  • GivePlayerMedication

  • GiveRandomMeds

  • GiveMedicationWithRandomData


Target vs zones

Config.Target switches between target-based interaction and zone/TextUI flow.

If target flow is enabled, confirm your target resource is running.

Shelf zones also need valid size and rotation data.


Prescription metadata is wrong

Your inventory must support metadata on added items.

Check these first:

  • the bridge item add path supports metadata

  • the prescription item name matches config

  • your metadata display strings still match your locale


Restock van has no keys

Wire the vehicle key helper in the open server file for your key script.

The packaged example shows a qbx_vehiclekeys path.


Pharmacist ped desync

Try toggling Config.ServerSidePeds.

Some servers behave better with client-side ped spawning.


Drugs do nothing when used

Medication effects rely on the proper prescription and medication data being created by the script.

If you spawn those items in manually, they may not behave like real issued medication.

If you want another resource to handle the actual effect, keep the item names and labels aligned and let that external resource handle the use effect.


Oxy disappears after one use

If oxy is being consumed by another script, remove or adjust that overlap in your other consumable logic first.

Last updated