Tutorials
1.
ensure chat ensure fivecode_rpchat
original: set resources_useSystemChat true changed: set resources_useSystemChat false
2.
3.









Last updated
ensure chat
ensure fivecode_rpchatoriginal:
set resources_useSystemChat true
changed:
set resources_useSystemChat false








Last updated
-- 1: Message: The text to display in the chat notification.
-- 3: Everyone: If true, the message will be send to all players in the server.
-- 2: Args: A table containing display settings such as label, icon, and colors.
exports['fivecode_rpchat']:Message(message, everyone, args)
-- Example:
exports['fivecode_rpchat']:Message('Hello World.', false, {
Label = 'Test Label:',
Icon = 'fas fa-check',
Color = {
Label = '255, 255, 255',
Text = '255, 255, 255',
TextStyleNormal = '75, 206, 18',
Background = '75, 2, 18, 0.9',
},
})-- 1: Source: Player source.
-- 2: Message: The text to display in the chat notification.
-- 3: Everyone: If true, the message will be send to all players in the server.
-- 4: Args: A table containing display settings such as label, icon, and colors.
exports['fivecode_rpchat']:Message(source, message, everyone, args)
-- Example:
exports['fivecode_rpchat']:Message(source, 'Hello World.', false, {
Label = 'Test Label:',
Icon = 'fas fa-check',
Color = {
Label = '255, 255, 255',
Text = '255, 255, 255',
TextStyleNormal = '75, 206, 18',
Background = '75, 2, 18, 0.9',
},
})-- 1: Notification Type - (success, info, error)
-- 2: Notification message
-- 3: If true everyone in the server will see this message.
exports.fivecode_rpchat:Notify(type, message, everyone)-- 1: Player source
-- 2: Notification Type - (success, info, error)
-- 3: Notification message
-- 4: If true everyone in the server will see this message.
exports.fivecode_rpchat:Notify(source, type, message, everyone)