function DisplayHelpText(string)
BeginTextCommandDisplayHelp("STRING")
AddTextComponentSubstringPlayerName(string)
EndTextCommandDisplayHelp(1, false, false, 0)
end
CreateThread(function()
while true do
Wait(0)
local Ped = PlayerPedId()
DisplayHelpText('Example Text')
SetFloatingHelpTextStyle(0, 2, 2, 0, 3, 0)
SetFloatingHelpTextToEntity(0, Ped, 0, 0)
end
end)