---
description: Check the instructions below.
---

# Configuration

{% tabs %}
{% tab title="cl_config" %}
• Don't change fatal index unless you know what you are doing. Check the warning below.

```lua
Config.FatalIndex = 4-- 4 or 6
```

• Activate or disable the nametags and healthbars shown above the crew members characters.

```lua
Config.GamerTags = true -- true or false
```

• Activate or disable the friendly fire between crew members.

```lua
Config.FriendlyFire = false -- true or false
```

• Activate or disable the crew member blips on game map.

```lua
Config.MemberBlips = false -- true or false
```

• You can set menu open command

```lua
Config.OpenMenu.command.command = "crew" -- any string
```

{% hint style="danger" %}
Fatal index must be 4 or 6. This index is changing depend on your server build. We don't know which build supports which index but if the script does not work without any errors, try to change the index to 4 or 6.
{% endhint %}
{% endtab %}

{% tab title="sv_config" %}
• Set the SQL script you are using at your server

```lua
Config.SQLScript = "oxmysql", -- "oxmysql", "ghmattimysql", "mysql-async"
```

• Set the image shwon when an image could not be found

```lua
Config.NoImage = "image_link"
```

• Set the refresh time in minutes for leadearboard

```lua
Config.LeaderboardRefreshTime = 5
```

• You can make only permitted players can create crew. Set it _**false**_ for making it public.

```lua
Config.AbleToCreate = {
    ["steam:xxx or license:xxx"] = true,
}
```

&#x20;                                                                                 or

```lua
Config.AbleToCreate = false -- everyonee can create crew
```

{% hint style="danger" %}
Reducing the refresh time can cause lag problems.
{% endhint %}

• You can add more badges as you want here is the badge template

```lua
{
   id = 1,
   image = 'badges/kill10.png', -- also can be an image link
   label = '10 Kills',
   killCount = 10 -- this can be nil check the info below
}, 
```

{% hint style="info" %}
The killCount parameter is for only getting the badges by the crews stat system. You can add different types of badges like however you want with AddBadgeToMember export. You can check it on [exports](exports "mention")
{% endhint %}
{% endtab %}

{% tab title="shared_config" %}
Set Weapon Datas

```lua
[weaponHash] = {
   label = "Weapon Label",
   image = "image_link",
},
```

Example

```lua
[-1569615261] = {
   label = "Fist",
   image = "https://cdn.discordapp.com/attachments/933867638902362153/1218494493083570217/image.png?ex=662cc86d&is=661a536d&hm=aa8b4ff7b93a7d40810b5ee0f379c760a56674c92abc69490b605f5ee98d7891&", --
},
[`weapon_assaultrifle`] = {
   label = "Assault Rifle",
   image = "https://cdn.discordapp.com/attachments/933867638902362153/1218494493083570217/image.png?ex=662cc86d&is=661a536d&hm=aa8b4ff7b93a7d40810b5ee0f379c760a56674c92abc69490b605f5ee98d7891&", --
},
```
{% endtab %}
{% endtabs %}





