Kicked For Explotation

Hi, if you came to this thread, you are affected by incorrect or incomplete player.lua installation

Firstly, make sure that you have selected your QBCore type correctly. New or Old.

To resolve this error, firstly review your player.lua file again. Because you may have put the event in the wrong place or you may not have put the data returned with return in the right place (High Probability!)

=> Setup Player Lua


👿I've corrected my mistake but I'm still getting kicked

The player will be kicked from the server when attempting to delete all characters created before realising this deficiency.


If your server is a development, that is, if it is still in the development process, follow this way:

  • Clear all rows in players and wais_multicharacterv2 tables. Then restart the server.


If your server is used for an active role that is open to players, follow this way:

The result of this error will be the following. Actually, for each player who presses the create character button, 2 characters with different citizenids will be created. The citizenid of the last created character will be saved in the multicharacterv2 table.

  • Go to qb-core/server/player.lua

  • Search for this function and make sure you find QBCore.Player.DeleteCharacter(source, citizenid)

  • Then delete the red hatched areas below or make a comment line. To make a comment line, put -- at the beginning of the line on the left hand side.


Last updated