Configuration & Exports (QB)
Configuration
ConfigurationSet Framework
DUSA.Framework = "qb" -- qb / oldqb
DUSA.CustomFramework = true
function CustomFrameworkExport() -- Add the export here, as in the following example.
QBCore = exports['qb-core']:GetCoreObject()
end
DUSA.PlayerLoadedExport = 'QBCore:Server:PlayerLoaded'
DUSA.PlayerUnloadedExport = 'QBCore:Server:OnPlayerUnload'Custom Spawnselector ( IF YOU WANT TO USE ANOTHER SPAWN SELECTOR SCRIPT )
Set DUSA.CustomSpawnSelector = true
Place your spawn selector open event inside function
DUSA.CustomSpawnSelector = false -- true value will disable dusa_spawnselector, will run export below
function CustomSpawnSelector()
-- Add your custom spawn selector trigger here (client side only)
endTranslation
You can edit these lines for all translations ( UI included )
Trigger Anything When Player Loaded
Configure which items will be given when player loaded
Trigger anything when player is loaded after character spawn
Tebex Integration
Tebex Integration1 - Find your tebex secret key (From tebex page)
2 - Add this to server.cfg -> set sv_tebexSecret "secretkey"
3 - Create a package for sell slot
4 - Check below and find "Add Command"
5 - Paste this command -> dusa_activateslot {"transid": "{transaction}"}
6 - Click setting icon at the right and change Require Player To Be Online > Execute the command even if the player is offline
Last updated