Tutorials

How to use chat notifications in other scripts ?

1.

Use chat notifications in other scripts:

-- 1: Source - GetPlayerServerId(PlayerId())
-- 2: Type - (success, info, error)
-- 3: Message - Notification message
-- 4: Everyone - If true everyone in the server will see this message.

TriggerServerEvent('fivecode_rpchat:notify', source, type, message, everyone)

Notification types:

Success Notification

Last updated