Skip to content

Integration Qbx_core

The necessary codes for New Qbx frameworks are as follows.

Incomplete or incorrect installation will result in a multicharacter error and will not save your new characters.

**qbx\_core/config/client.lua** Go to this file and search for **`useExternalCharacters`** and change the variable to **`true`**

Visit this folder for the changes we will make. qbx_core/server/player.lua


  • Find the specified function function CreatePlayer(playerData, Offline)

  • Go to the last line of the function and you should see return self

  • This is the code you need to find and see before changing the code ⤵️

    ⚠️ Before the change ⚠️


  • You need to put this event on top of the return self code
lua
TriggerEvent('wais:sendNewCharacterData', self.PlayerData.source, playerData.cid, self.PlayerData.citizenid)

After pasting the code above, it should look like below.

✅ View after the Event is added ✅