{"hash":"0x2A32FAA57B937173","ns":"GRAPHICS","name":"_DRAW_MARKER","slug":"_DRAW_MARKER","official":false,"named":true,"luaName":"DrawMarker","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"type","type":"Hash"},{"name":"posX","type":"float"},{"name":"posY","type":"float"},{"name":"posZ","type":"float"},{"name":"dirX","type":"float"},{"name":"dirY","type":"float"},{"name":"dirZ","type":"float"},{"name":"rotX","type":"float"},{"name":"rotY","type":"float"},{"name":"rotZ","type":"float"},{"name":"scaleX","type":"float"},{"name":"scaleY","type":"float"},{"name":"scaleZ","type":"float"},{"name":"red","type":"int"},{"name":"green","type":"int"},{"name":"blue","type":"int"},{"name":"alpha","type":"int"},{"name":"bobUpAndDown","type":"BOOL"},{"name":"faceCamera","type":"BOOL"},{"name":"p19","type":"int"},{"name":"rotate","type":"BOOL"},{"name":"textureDict","type":"const char*"},{"name":"textureName","type":"const char*"},{"name":"drawOnEnts","type":"BOOL"}],"summary":"Old name: _DRAW_MARKER","descriptions":[{"source":"alloc8or","format":"text","body":"https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua"},{"source":"vorp","format":"text","body":"https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua\nOld name: _DRAW_MARKER"}],"examples":[],"aliases":["DRAW_MARKER"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/_DRAW_MARKER","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/_DRAW_MARKER.md","snippets":{"lua":"DrawMarker(type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts)","luaInvoke":"Citizen.InvokeNative(0x2A32FAA57B937173, type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts)","js":"DrawMarker(type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts);","jsInvoke":"Citizen.invokeNative('0x2A32FAA57B937173', type, posX + 0.0000001, posY + 0.0000001, posZ + 0.0000001, dirX + 0.0000001, dirY + 0.0000001, dirZ + 0.0000001, rotX + 0.0000001, rotY + 0.0000001, rotZ + 0.0000001, scaleX + 0.0000001, scaleY + 0.0000001, scaleZ + 0.0000001, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts);","csharp":"Function.Call((Hash)0x2A32FAA57B937173, type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}