Help with notification natives!

I NEED HELP NOW!

When creating a texting script ingame so that people can text each other, I fell into some problems using the native SetNotificationMessageClanTag which I want to use so that I can have a picture with it. The notification displays fine in game EXCEPT THAT IT STAYS ON SCREEN FOR 0.1 SECONDS! I looked on the natives page on the WIKI for the usage and the native and it said the duration and explained it. I changed it to the lowest and highest number I could and it did nothing to fix the problem. Is there anyway that I can change the length of a notification or stop it from flashing on the screen?

Segment of code I used:

RegisterNetEvent("tm:textsent")
AddEventHandler('tm:textsent', function(tPID, names2)
		
		SetNotificationTextEntry("STRING")
		AddTextComponentString('~s~Your Message has been sent to: ~w~' .. tostring(names2))
		SetNotificationMessageClanTag("CHAR_BLANK_ENTRY", "CHAR_BLANK_ENTRY", 1, 7, names2, "Text Message", 1000, "")
		DrawNotification(true, true)
end)

EDIT/UPDATE 8/4/17:

In the script when I put the duration down to 0.04 it shows for maybe a second at most, which is longer than before, but anything I put lower than that like 0.03 just makes it flash on the screen again.

SetNotificationMessageClanTag("CHAR_DEFAULT", "CHAR_DEFAULT", 0, 7, names2, "Text Message", 0.04, "")
1 Like

I’m not sure but by reading the usage, for the bool “flash”, I think it has to be 0… I am pretty new to scripting but try that out…

SetNotificationMessageClanTag("CHAR_BLANK_ENTRY", "CHAR_BLANK_ENTRY", 0, 7, names2, "Text Message", 1000, "")

Thanks for the input, I tried that out in my script it didn’t fix it at all.