How do I get the notification to instead be clientsided and not let everyone see it. Heres my code:
Client:
RegisterNetEvent('showNotify')
AddEventHandler('showNotify', function(notify)
ShowAboveRadarMessage(notify)
end)
function ShowAboveRadarMessage(message)
SetNotificationTextEntry("STRING")
AddTextComponentString(message)
DrawNotification(0,1)
end
Server (example)
AddEventHandler('chatMessage', function(source, n, msg)
msg = string.lower(msg)
if (msg == "/n") then
CancelEvent()
TriggerClientEvent('showNotify', -1,"~b~Test")
end
end)
Just wan’t to test for my other script, but how can I make what the server script is doing clientsided instead?