You will find insert.sql file inside your dusa_multicharacter script, open it on your database and press run for inserting
Set Framework
DUSA.Framework ="esx" -- esx / oldesxDUSA.CustomFramework =truefunctionCustomFrameworkExport() -- Add the export here, as in the following example. ESX = exports["es_extended"]:getSharedObject()endDUSA.PlayerLoadedExport ='esx:playerLoaded'DUSA.PlayerJoinedExport ='esx:onPlayerJoined'
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 belowfunctionCustomSpawnSelector()-- Add your custom spawn selector trigger here (client side only)end
Translation
You can edit these lines for all translations ( UI included )
Configure which items will be given when player loaded
Trigger anything when player is loaded after character spawn
-- Give Items When Player LoadedDUSA.StarterItems = { {item ="id_card", amount =1}, {item ="water_bottle", amount =3}, {item ="tosti", amount =3}, {item ="cash", amount =5000}, {item ="blue_phone", amount =1}}-- Handle Player LoadDUSA.PlayerLoaded=function(identifier)-- Trigger an event when player is loaded (Client Side)end
1 - 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