> For the complete documentation index, see [llms.txt](https://adminpluss-development.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adminpluss-development.gitbook.io/docs/paid-scripts/qb-esx-character-attributes-paid.md).

# \[QB/ESX] Character Attributes \[PAID]

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FADsFXRAm2vVUGAA4RsKy%2FCharacter_Attributes.png?alt=media&amp;token=b9fcbbe0-6f75-4c68-8643-43d4009abb5d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This script allows you write a description about your character. Once you've done so, other players are able to /examine your ID & view your characters description for roleplay purposes. You're able to display your height/age & a text description about your character like "Isaiah Spade loves football, eating etc.." . This is an SAMP/GTA.WRLD inspired feature developed for FiveM servers.
{% endhint %}

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FCy3y3Gv3t8FZT4Pa6RRc%2Ffeatures.png?alt=media&amp;token=0477a285-417f-4ada-8bee-4413fec70123" alt=""><figcaption></figcaption></figure>

Configurable Age👨

> Change your Age so players can then view it & have an idea of the age you're roleplaying as.

Configurable Height 🧍‍♂️

> Change your height so players can then view it & have an idea of the height  you're roleplaying as.

Configurable Description 📝

> Configurable characteristics about your character.

Configurable Notification 💬

> Change your notification to preset ones or add your own (ESX/OX/QB/other)

Configurable Apostrophe option for the message. 🔗

> Enable/disable if you want a automatic apostrophe added or not.

Configurable Warn on Relog 📢

> Automatically warn a player if they don't have a attribute set.

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FKolaTzag0myC87a8DXZz%2Finstall.png?alt=media&amp;token=3165a02a-6af8-42f2-b619-3388fb5bc51d" alt=""><figcaption></figcaption></figure>

* This resource is drag/drop. You will just have to change your framework inside shared file to whichever framework you're on & then change the text to your liking. You will also need to add the following inside of your server.cfg after you've dropped the file into your resources.

> <mark style="color:orange;">ensure adminplus-attributes</mark>

{% hint style="warning" %}
Feel free to check the shared folder to be able to enable/disable some of the options the script provides.
{% endhint %}

```lua
-- ███████████████████████████████████████████████████████████████████████████ --                                                                                                                                  

Config = {}

Config.Framework = 1 -- (ESX == 1), (QB == 2)
Config.FrameworkExport = 'es_extended' -- (ESX == 'es_extended'), (QB == 'qb-core')

Config.Notify = 'ox' -- 'ox'/'esx'/'qb'/'other'

Config.UseApostrophe = false -- do you want to add apostrophe to player's name?. (if true then will look like == "Isaiah Spades's Attributes", if false then will look like == Isaiah Spade Attributes)
Config.EnableWarnOnRelog = true -- do you want to warn players in chat everytime a player joins so they can set a attribute if they don't have one?
Config.MinimumAge = 18
Config.MaximumAge = 40

Config.Commands = {
    ClearAttributes = 'attributesclear', -- change after ClearAttributes if you're changing the command.
    Examine = 'examine', -- change after Examine if you're changing the command.
    OpenAttributes = 'attributes', -- change after OpenAttributes if you're changing the command.
}

Config.Strings = {
    -- Client Side Locales (ox_lib menu)
    title = 'Character Attributes',
    age = 'Age',
    age_desc = 'Enter your character\'s age.',
    height = 'Height',
    height_desc = 'Enter your character\'s height.',
    description = 'Description',
    description_desc = 'Enter a description about your character.',
    -- Server Side Locales
    examine = '[Attributes]: Usage: /examine [id]',
    player_not_found = '[Attributes]: Player not found.',
    no_attributes = '[Attributes]: No attributes found for specified player.',
    no_attributes_warning = "You haven't set your character attributes yet. Use /setattributes to set them.",
    clear_attributes = '[Attributes]: Attributes cleared successfully.',
    no_attributes_clear = '[Attributes]: No attributes found to clear.',

    update_attributes = '[Attributes]: Attributes updated successfully.',
    update_attributes_failed = '[Attributes]: Failed to update attributes.',
    set_attributes = '[Attributes]: Attributes set successfully.',
    set_attributes_failed = '[Attributes]: Failed to set attributes.',
    chatmessageattributes = 'Attributes',
    chatmessageage = 'Age:',
    chatmessageheight = 'Height:',
    chatmessageattributes2 = '[Attributes]',
}

-- ███████████████████████████████████████████████████████████████████████████ --
```

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FzUBw2K8iJtQN1PmrvtyY%2Fchangelog.png?alt=media&amp;token=a35ca929-89e9-4d76-a7e1-5967797b7a25" alt=""><figcaption></figcaption></figure>

```markup
V 1.0.0
```

* Original Release

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FNwMogM8VwPQ3aPHa5VUu%2Fpurchase.png?alt=media&amp;token=b0f72168-8d77-4fea-b347-8735abd1e002" alt=""><figcaption></figcaption></figure>

* [<mark style="color:yellow;">Tebex (purchase)</mark>](https://adminplus.tebex.io/package/6199146)
* [<mark style="color:yellow;">Support (discord)</mark>](https://discord.gg/J2mP9kJJ83)
* [<mark style="color:yellow;">Showcase (video)</mark>](https://www.youtube.com/watch?v=bk4GE4q_5S8)
