# Non-RP Gamemodes

By default; this script is setup to run on RP-based gamemodes. However; some customers may find the desire to run it on various other gamemodes such as Sandbox or Deathrun.

The script itself includes a placeable entity, as well as an NPC. If you are running this script on gamemodes such as PropHunt or Deathrun; placing these items on a large volume of maps may not be a viable option (although it is possible).

### <mark style="color:red;">◾ Chat Commands</mark>

If you want your players to be able to change their name whenever with a simple chat command

<mark style="color:blue;">**OPEN:**</mark>

```
addons/identix/lua/modules/identix/cfg/sh_cfg_binds.lua
```

<mark style="color:blue;">**LOCATE:**</mark>

```lua
cfg.binds.user.chat.name =
{
    [ '!name' ]     = false,
    [ '/name' ]     = false,
}
```

Change the above settings to <mark style="color:red;">**`true`**</mark> . Doing so will allow a player to type <mark style="color:green;">**`!name`**</mark> or <mark style="color:green;">**`/name`**</mark> in chat.

You may add additional commands; or rename the existing commands.

### <mark style="color:red;">◾ Player Chat Names</mark>

On non-rp gamemodes; you will not have the same name functions that are provided with DarkRP. Therefore; customers may notice that a player creates a name with this addon; however, their name in chat may still show as their steam name. In order to combat this; you have two options:

* Install a 3rd party chat script ( *AtlasChat, ClearChat, etc. )*
* Enable <mark style="color:red;">Chat Override</mark> included with this addon.

If you have installed a 3rd party chat addon; then you should be good to go. However; if you plan to use the default Garry's Mod chat; you must enable <mark style="color:red;">Chat Override</mark>:

OPEN:

```
addons/identix/lua/modules/identix/cfg/sh_cfg_chat.lua
```

Change to <mark style="color:red;">`true`</mark><mark style="color:blue;">:</mark>

```etlua
cfg.chat.bOverride = true
```

By enabling this feature; players should now appear in chat with their new names registered with by this addon.

Disable this feature if you do decide to install a 3rd party chat addon in the future.
