Installations
server.cfg
Add the command to your server.cfg file and make sure that the script is started.
ensure mt_notification
Notify
Client event
TriggerEvent("notifications", "#673ab7", 'Titel', "Text")
Server event
TriggerClientEvent("notifications", "#673ab7","Titel", "Text")
Announces
Client event
TriggerEvent('announces', "#673ab7","Titel", "Text")
Server event
TriggerClientEvent('announces', "#673ab7","Titel", "Text")
Commands
The following commands are already integrated.
/ooc (Send the text to all players around you.)
/id (Ask for one's own ID.)
/ids (To query the ID of other players who are around you.)
Last updated
Was this helpful?