Change this part:
TriggerEvent("pNotify:SendNotification",{
text = "<b style='color:#1E90FF'>You are in a SafeZone</b>",
type = "success",
timeout = (3000),
layout = "bottomcenter",
queue = "global"
})
to
DrawMissionText2("Your text", 5000)
( You can use ~r~, ~g~, ~b~, etc. for colors.
So like "You ~r~ ARE NOT ~w~ in a ~g~Safe Zone~w~!
Would be “You” in white | “ARE NOT” in red | " in a " in white | “safe zone” in green | and the ’ ! ’ in white. )
and add this to the bottom of the script:
function DrawMissionText2(m_text, showtime)
ClearPrints()
SetTextEntry_2("STRING")
AddTextComponentString(m_text)
DrawSubtitleTimed(showtime, 1)
end
Edit: Is that at the bottom of your screen or pNotify?
If its pNotify disregard all of what I said., you will have to refer to the pNoty post: