βοΈExports & Events
This document describes all configuration options for the DevHub Truck robbery resource.
Client Exports
Close Crafting UI
exports['devhub_crafting']:Close()-- Close crafting when player dies
AddEventHandler('esx:onPlayerDeath', function()
exports['devhub_crafting']:Close()
end)
-- Close crafting when entering vehicle
AddEventHandler('baseevents:enteredVehicle', function()
exports['devhub_crafting']:Close()
end)Server Events
Community Project Completed
Client Function Hooks
CanOpenCrafting
OnCraftingOpened
OnCraftingClosed
OnCraftStart
Server Function Hooks
CanCraft
OnCraftStart
OnAttachmentsApplied
CanUnlockBlueprint
OnBlueprintUnlocked
Integration Examples
Close Crafting on Death (ESX)
Close Crafting on Death (QBCore)
Job-Restricted Crafting Station
VIP Queue Size Bonus
Discord Webhook for Craft Completion
Last updated