So i am working on that Marker which Trigger an Event after a Key been Pressed.
I want to add a Notification like that http://prntscr.com/rqzl9c, the Marker and the Event works fine but i really stuck on that Notification, can someone help me out?
This is the Marker Code: https://pastebin.com/VzZGTJ1y
function Notification(msg)
BeginTextCommandDisplayHelp('STRING')
AddTextComponentSubstringPlayerName(msg)
EndTextCommandDisplayHelp(0, false, true, -1)
end
then you call: Notification(‘PRESS …’) inside distance check on your code
if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1)), coords.x, coords.y, coords.z, true) < size
Im still working on that, someone who can help me?