> For the complete documentation index, see [llms.txt](https://abdulkadir-aktas.gitbook.io/qadr_docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_identity.md).

# qadr\_identity

{% tabs %}
{% tab title="Buy" %}
{% embed url="<https://west-world.tebex.io/package/5133247>" %}
{% endtab %}

{% tab title="But - Reboot Version" %}
{% embed url="<https://west-world.tebex.io/package/5651868>" %}
{% endtab %}

{% tab title="Forum" %}
{% embed url="<https://forum.cfx.re/t/paid-qadr-identity/4863143>" %}
{% endtab %}
{% endtabs %}

## Installations

{% embed url="<https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_identity/installation/reboot-2023>" %}

{% embed url="<https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_identity/installation/old-redemrp>" %}

* This source sends some data from your server to me via webhook. \
  For transparency, these data are as follows.
  * Version : by qadr\_identity
  * Server hash : Created by qadr\_identity

![](/files/8oDHJQBrm15qTJxlOGqF)

### 2. Usage

* Use 'Config.UsingRespawn' to opt-in or out of using [RedEM-RP Respawn](https://github.com/RedEM-RP/redemrp_respawn)
* NOTE : You must either install RedEM-RP Respawn OR set this to false, otherwise, after selecting/creating a character, your camera won't move.
* Use 'Config.SpawnPoint' if 'Config.UsingRespawn' is set to false to set the location of where players will spawn.
* Also, this script has a creating character limitations for each player.\
  This value is 1 by default and can be a maximum of 4.\
  You can add this part to your .cfg file.\
  `add_ace group.admin command.updatecharactercount allow`\
  Only admin can use command updatecharactercount steamid count\
  `updatecharactercount steam:11000010fb10534 2`
* Added permission system for deleting characters.
  * Permission must be equal redemrp user group

    <figure><img src="/files/7zUZ4lI8sFD1veqtjQv6" alt=""><figcaption></figcaption></figure>
  * Check your config file `qadr_identity.permisson = "superadmin"`
  * If you want to authorize everyone to delete characters. Edit this variable to `nil` or delete this variable.

### 3. Some Events

You can change loading background image from `html\images\fullBG.png`

### Listenable Clients Events:

```lua
AddEventHandler('qadr_identity:SpawnCharacter', function(isnewcharacter)
  print(isnewcharacter) -- return true or nil
end)
AddEventHandler('qadr_identity:removeLoadingScreen', function()
  -- unloaded nui loading page
end)
AddEventHandler('qadr_identity:openSelectionMenu', function()
  -- open nui selection menu
end)
```

### Listenable Server Events:

```lua
AddEventHandler("qadr_identity:deleteCharacter", function(charid)
  -- deleted character
  print(charid)
end)
AddEventHandler('qadr_identity:characterRemoved', function(_source,id, _charid)
  -- return id and charid
  print(_source,id, _charid)
end)
```

### 4. Default ambient

This resource has one ambient option but you can buy more. Default ambient has a changeable campfire and tent. So, your players can change their own ambient.

![](/files/Z92HIG2AR7JKg9DvTnqI)

### 5. Purchasable ambient -- SOON

* [Saint Denis Bazaar](/qadr_docs/qadr_identity/purchasable-ambients-for-reboot-version/saint-denis-bazaar.md)
* [Blackwater Saloon](/qadr_docs/qadr_identity/purchasable-ambients-for-reboot-version/blackwater-saloon.md)
* [Valentine Saloon](/qadr_docs/qadr_identity/purchasable-ambients-for-reboot-version/valentine-saloon.md)
* [Valentine Train Station](/qadr_docs/qadr_identity/purchasable-ambients-for-reboot-version/valentine-train-station.md)

### 6. Credits

Inspired by this script

[Amakuu](https://github.com/amakuu/)

Orjinal script : [redemrp\_identity](https://github.com/RedEM-RP/redemrp_identity)
