# 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

![](https://580445893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzf2ZAqGbUPk9K8cVFSgd%2Fuploads%2F3Ak4s4TJKeowb3wgJ33u%2Fimage.png?alt=media\&token=925f147d-ad3c-4183-94d8-e6fff35ff9e0)

### 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="https://580445893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzf2ZAqGbUPk9K8cVFSgd%2Fuploads%2FlU4rxN8R0qK4NXMy6GAg%2Fimage.png?alt=media&#x26;token=183de06c-5e5a-4be8-a7e4-fa813f891a73" 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.

![](https://580445893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzf2ZAqGbUPk9K8cVFSgd%2Fuploads%2FF2hp8UZVw8JfQeR4N4ud%2Fimage.png?alt=media\&token=5a9ad8b4-e56f-4f8f-bbb0-873b809879d4)

### 5. Purchasable ambient -- SOON

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

### 6. Credits

Inspired by this script

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

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