# Kicked For Explotation

{% hint style="warning" %}
Firstly, make sure that you have selected your **QBCore** type correctly. <mark style="background-color:green;">**New**</mark> or <mark style="background-color:orange;">**Old**</mark>.
{% endhint %}

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** <mark style="background-color:yellow;">(High Probability!)</mark>

**=>** [**Setup Player Lua**](/0resmon/wais-resoucres/wais-multicharacterv2/installation-qbcore.md)

***

## 👿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 <mark style="background-color:green;">**players**</mark> and <mark style="background-color:green;">wais\_multicharacterv2</mark> tables. Then restart the server.

***

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

{% hint style="info" %}
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.
{% endhint %}

* Go to *<mark style="background-color:yellow;">**qb-core/server/player.lua**</mark>*
* Search for this function and make sure you find <mark style="background-color:yellow;">**QBCore.Player.DeleteCharacter(source, citizenid)**</mark>
* 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.

<figure><img src="/files/ZWlwJaxBIuLzNVOMX02X" alt=""><figcaption><p><strong>Red Hatcheds</strong></p></figcaption></figure>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0resmon.org/0resmon/wais-resoucres/wais-multicharacterv2/kicked-for-explotation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
