Name Change in QB-Core

I have been working on adding a few features to my server and found myself stuck on the Name Change feature. I have coded the item to allow the player to change their name and the item works, it changes the name in both the database and the Player Data while the player is online, however, the moment that the player logs out the name reverts to the old name. I know I am missing something small here but I can’t place my finger on it for the life of me. What do I need to do to make sure the name change sticks when the player logs out?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.