Add the following into server.cfg, make sure chat resource starts before fivecode_rpchat
ensure chat
ensure fivecode_rpchat
If default chat box is still present do the following:
Go into server.cfg server file and change the following
original:
set resources_useSystemChat true
changed:
set resources_useSystemChat false
2.
Use chat notifications in other scripts:
-- 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)