{"hash":"0xD79334A4BB99BAD1","ns":"HUD","name":"_DISPLAY_TEXT","slug":"_DISPLAY_TEXT","official":false,"named":true,"luaName":"DisplayText","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"text","type":"const char*"},{"name":"xPos","type":"float"},{"name":"yPos","type":"float"}],"summary":"nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT (0x16794E044C9EFB58) instead.","descriptions":[{"source":"alloc8or","format":"text","body":"nullsub, this native does nothing since build 1436, use _BG_DISPLAY_TEXT (0x16794E044C9EFB58) instead."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","unused":true,"sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/HUD/_DISPLAY_TEXT","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_DISPLAY_TEXT.md","snippets":{"lua":"DisplayText(text, xPos, yPos)","luaInvoke":"Citizen.InvokeNative(0xD79334A4BB99BAD1, text, xPos, yPos)","js":"DisplayText(text, xPos, yPos);","jsInvoke":"Citizen.invokeNative('0xD79334A4BB99BAD1', text, xPos + 0.0000001, yPos + 0.0000001);","csharp":"Function.Call((Hash)0xD79334A4BB99BAD1, text, xPos, yPos);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}