💾Installation

The installation process of chat

2na_chat is a modern chat script that differentiates from the other ones with its unique design and features.

This script requires 2na_core to function properly, don't forget to install it before installing 2na_chat

Step 1

Extract the zip file you got from our discord server to the resources folder of your server.

Step 2

Open Config.lua file placed inside 2na_chat's root folder. As you can see in this code block, there are currently several options that can be configured for 2na_chat.

Config.lua
Config = {}

Config.ShowChatKey = 'T'

Config.DefaultSuggestions = {
    { command = 'me',  color = '#00000098' },
    { command = 'do',  color = '#00000098' },
    { command = 'ooc', color = '#00000098' },
    { command = 'yellowpages', color = '#00000098' },
    { command = 'tweet', color = '#00000098' }
}

Config.TypeColors = {
    ["me"] =            '#c79408',
    ["do"] =            '#347deb',
    ["ooc"] =           '#347deb',
    ["admin"] =         '#de4949',
    ["charinfo"] =       '#6d11d6',
    ["ems"] =           '#f2665c',
    ["police"] =        '#0528ed',
    ["error"] =         '#de4949',
    ["whisper"] =       '#060807',
    ["tweet"] =         '#1da1f2',
    ["yellow_pages"] =  '#bab525',
    ["gang"] =          '#148f3b',
    ["announcement"] =  '#ba722f'
}

Config.YellowPageFee = 500

Config.EnableEmojiMenu = true

Config.OOCMessageWithoutCommand = true

Most of the config options are pretty self-explanatory so we will not explain all of them here. In case you have any questions about this config file you can join our discord server.

Step 3

Add ensure 2na_chat in your server.cfg file.

Step 4

To prevent from Cfx.re/GTA Online chat scripts from popping up on the screen you have to delete them.

Removing GTA Online and Cfx.re Chat

If you didn't change the default locations of the Cfx.re/GTA Online chat scripts. Head to the [gameplay] folder placed inside of your resources folder of your server.

In this folder, you should remove two scripts:

  1. chat

  2. chat-theme-gtao

Last updated