💡Integration Qbx_core

The necessary codes for New Qbx frameworks are as follows.

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

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 ✅

Last updated