{"hash":"0xB3426BCC","ns":"CFX","name":"DRAW_LINE","slug":"DRAW_LINE","official":true,"named":true,"luaName":"DrawLine","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":"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_LINE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/DRAW_LINE.md","snippets":{"lua":"DrawLine(x1, y1, z1, x2, y2, z2, red, green, blue, alpha)","luaInvoke":"Citizen.InvokeNative(0xb3426bcc, x1, y1, z1, x2, y2, z2, red, green, blue, alpha)","js":"DrawLine(x1, y1, z1, x2, y2, z2, red, green, blue, alpha);","jsInvoke":"Citizen.invokeNative('0xb3426bcc', x1 + 0.0000001, y1 + 0.0000001, z1 + 0.0000001, x2 + 0.0000001, y2 + 0.0000001, z2 + 0.0000001, red, green, blue, alpha);","csharp":"Function.Call((Hash)0xb3426bcc, x1, y1, z1, x2, y2, z2, 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."]}}