MSK Scripts
Search…
⌃K

Change Notifications

If you need help to change the Notification in our Scripts, follow these steps and it should work.
Config.Notification = function(src, action, xPlayer, message)
function
description
src
source
action or type
'client' or 'server'
xPlayer
ESX.GetPlayerFromId(src)
message
'The notification message'
CLIENTSIDE
SERVERSIDE
Change this:
MSK.Notification(message)
to f.e. this:
exports['okokNotify']:Alert('Shop', message, 5000, 'info')
Change this:
MSK.Notification(src, message)
to f.e. this:
TriggerClientEvent('okokNotify:Alert', src, 'Shop', message, 5000, 'info')