![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] main image](https://forum-cfx-re.akamaized.net/optimized/4X/e/c/1/ec14257278542e4c94948f659c56f7c7fd0d735d_2_690x388.jpeg)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 1](https://forum-cfx-re.akamaized.net/optimized/4X/e/c/1/ec14257278542e4c94948f659c56f7c7fd0d735d_2_690x388.jpeg)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/4X/9/0/5/905441b5a414f304203fd890415e6ff37868cc1f_2_690x289.jpeg)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 3](https://forum-cfx-re.akamaized.net/optimized/4X/5/3/f/53fd3a7d25fc53941262b20b4c5e7e5a8887f61a_2_690x276.png)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 4](https://forum-cfx-re.akamaized.net/optimized/4X/b/5/3/b530e47648f5931ed69e84f933ea0cc1bc4dff45_2_690x117.png)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 5](https://forum-cfx-re.akamaized.net/optimized/4X/7/3/b/73beb51e6364f9d7c9987a1170cdf847915fc3ff_2_690x201.png)
![[QB, QBOX, ESX] Roleplay Chat, Theme ++ [Updated] thumbnail 6](https://forum-cfx-re.akamaized.net/original/4X/7/7/8/778353050fa54df7c90ed1490504d4ba86a1625a.png)
Price
UnknownA script by TrooperKyle
Price
UnknownIntroducing the roleplay chat for FiveM inspired from SA:MP, a comprehensive chat system that enhances the communication experience in your FiveM server. This script provides several commands, including /me, /do, /ooc and /dice, along with additional features to enrich player interactions and improve roleplaying scenarios.
FEATURES
EXAMPLE
TO-DO
LINKS
CONFIG
return {
-- Main configuration
Framework = 'auto', -- 'auto' or 'custom'
PlaySound = true, -- Sends a tick sound effect(native) if chat visible or visible when active. (If player hides the chatbox, it does not.) (default: true)
EnableJoinMessage = false, -- Enables join/leave message. Change it to the false for disable. (default: false)
DisableChat = true, -- Toggle chat, you can leave it at true. You can still use the commands (all). (default: true)
DisableEmoteEntry = false, -- Toggle the /me /do emote write on chat as entry (default: false)
EmoteVisibilityCollusion = true, -- Toggle emotes visibility collision (default: true)
EmoteShowTime = 10000, -- you know the drill (3D emote)
EmoteCooldown = 2, -- Cooldown for command usage (seconds)
ForceCapital = true, -- a-A
CommandOptions = {
['me'] = {
proximity = 20,
help_text = 'It indicates the movement and action of the character.',
color = '#F2A2DA',
args = {
name = 'Action',
help = 'You can use your action without the *Person* suffix.',
},
draw = {
enabled = true,
bone = 12844, -- Head
offset = vec3(0.0, 0.0, 0.4)
},
permission = 'group.user'
},
['do'] = {
proximity = 20,
help_text = 'It indicates the character\'s situation and thoughts.',
color = '#33CCFF',
args = {
name = 'Status',
help = 'You can use your status without the *Person* suffix.',
},
draw = {
enabled = true,
bone = 11816, -- Pelvis
offset = vec3(0.0, 0.0, 0.3)
},
permission = 'group.user',
},
['ooc'] = {
proximity = 10,
help_text = 'Out of character message.',
color = '#DBFFFF',
args = {
name = 'Message',
help = 'Your OOC message.',
},
draw = {
enabled = false,
bone = nil,
offset = nil
},
permission = 'group.user',
},
},
Dice = {
command = 'dice',
proximity = 10,
help_text = "Throws a dice.",
color = '#FFFFFF',
args = {
['min'] = 1,
['max'] = 60,
},
draw = {
enabled = true,
bone = 11816, -- Pelvis
offset = vec3(0.0, 0.0, 0.3)
},
},
ClearChat = {
['Self Chat Box'] = {
command = 'clearchat',
helptext = 'Clear chat for yourself'
},
['Server Chat Box'] = {
command = 'ccall',
permission = 'group.admin',
helptext = 'Clear chat for everyone'
}
},
-- Please exclude IDs from being considered as masks within the 'MASK/BEARD' category.
BlacklistedMasks = {
['mp_m_freemode_01'] = {1, 2, 3}, -- Male blacklisted masks.
['mp_f_freemode_01'] = {1, 2, 3} -- Female blacklisted masks.
},
-- For props like helmet, glasses and others
-- Check for prop ids, or just ask in our Discord server.
-- Example usage: ["1"] = {1},
ExtraPropMasks = {
['mp_m_freemode_01'] = {
['0'] = {50, 51, 52, 53}, -- Hats/Helmets
-- ['3'] = {1, 2}
},
['mp_f_freemode_01']= {
['0'] = {49, 50, 51, 52}, -- Hats/Helmets
-- ['1'] = {}
}
},
-- For other categories just check drawable id and put it inside the list.
-- Check for drawable component ids, or just ask in our Discord server.
-- Same usage with `ExtraPropMasks`.
-- https://forum.cfx.re/t/how-to-streaming-addon-clothes-and-ped-props-for-mp-freemode-models/458854
ExtraDrawableMasks = {
['mp_m_freemode_01'] = {
-- ['0'] = {},
-- ['1'] = {}
},
['mp_f_freemode_01']= {
-- ['0'] = {},
-- ['1'] = {}
}
},
Locales = {
['me'] = "* %s: %s",
['do'] = "* [%s] %s",
['ooc'] = "(( %s: %s ))",
['dice'] = "%s rolls a dice and it lands on %d.",
['anon_name'] = "Anonymous",
['spam_message'] = "You can emote in every %s seconds."
}
}
For any questions or support join our Discord server.
Code is accessible | Partial (Config file) |
Subscription-based | No |
Lines (approximately) | 300~ |
Requirements | QBCore Framework, ox_lib |
Support | Yes |
No approved reviews found for this script yet.