Quick Actions
Quick action behavior and constraints for gcm-reports.
Quick actions are handled in server callback gcm_reports:admin:quickAction.
Supported actions
bringgotobringbackbackteleportinventorygiveitemsreviveropabucketscreenshot(quickAction reports success path; actual capture/upload is handled by modal callback)espectar
Permission checks
Most actions require member:hasPermission('<perm>') (unless staff has full access):
teleportinventorygiveitemsreviveropabucketspectatescreenshot
Side effects
- Most quick actions append a staff message to report chat.
SavedCoordsis used forbringbackandbackrestore flows.bucketupdates routing bucket withSetPlayerRoutingBucket.espectartriggerstxcl:spectate:starton staff client.inventory,revive, andropanow return backend failure when the detected integration is unsupported instead of always reporting success.
Backend support notes
Inventory quick action
- Native success path:
ox_inventory
- Custom adapter success path:
qb-inventoryps-inventoryorigen_inventorycore_inventorytgiann-inventoryjpr-inventory
- Detected but not currently openable through
gcm_reports:qs-inventorycodem-inventory
Clothing quick action
- Supported:
esx_skinqb-clothingillenium-appearancefivem-appearancercore_clothingorigen_clothing
Revive quick action
- Supported:
qb-ambulancejobqbx_medicalwasabi_ambulanceesx_ambulancejob
- Fallback:
- ESX uses
esx_ambulancejob:revive - QBCore/QBX uses
hospital:client:Revive
- ESX uses
Screenshot flow (modal)
- Staff calls
gcm_reports:admin:takeScreenshotForModal. - Server validates screenshot permission + webhook.
- Server requests capture from target client (
gcm_reports:client:takeScreenshot). - Client uploads with
screenshot-basicand returns image URL.