{"hash":"0xABD19253","ns":"CFX","name":"DRAW_POLY","slug":"DRAW_POLY","official":true,"named":true,"luaName":"DrawPoly","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"x1","type":"float"},{"name":"y1","type":"float"},{"name":"z1","type":"float"},{"name":"x2","type":"float"},{"name":"y2","type":"float"},{"name":"z2","type":"float"},{"name":"x3","type":"float"},{"name":"y3","type":"float"},{"name":"z3","type":"float"},{"name":"red","type":"int"},{"name":"green","type":"int"},{"name":"blue","type":"int"},{"name":"alpha","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":1,"url":"https://natives.borderlinerp.com/natives/CFX/DRAW_POLY","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/DRAW_POLY.md","snippets":{"lua":"DrawPoly(x1, y1, z1, x2, y2, z2, x3, y3, z3, red, green, blue, alpha)","luaInvoke":"Citizen.InvokeNative(0xabd19253, x1, y1, z1, x2, y2, z2, x3, y3, z3, red, green, blue, alpha)","js":"DrawPoly(x1, y1, z1, x2, y2, z2, x3, y3, z3, red, green, blue, alpha);","jsInvoke":"Citizen.invokeNative('0xabd19253', x1 + 0.0000001, y1 + 0.0000001, z1 + 0.0000001, x2 + 0.0000001, y2 + 0.0000001, z2 + 0.0000001, x3 + 0.0000001, y3 + 0.0000001, z3 + 0.0000001, red, green, blue, alpha);","csharp":"Function.Call((Hash)0xabd19253, x1, y1, z1, x2, y2, z2, x3, y3, z3, red, green, blue, alpha);","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."]}}