Kicked For Explotation
Hi, if you came to this thread, you are affected by incorrect or incomplete player.lua installation
Last updated
Hi, if you came to this thread, you are affected by incorrect or incomplete player.lua installation
Last updated
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!)
=>
The player will be kicked from the server when attempting to delete all characters created before realising this deficiency.
Clear all rows in players and wais_multicharacterv2 tables. Then restart the server.
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.