{"hash":"0xCD4D9DD5","ns":"CFX","name":"DRAW_BOX","slug":"DRAW_BOX","official":true,"named":true,"luaName":"DrawBox","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_BOX","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/DRAW_BOX.md","snippets":{"lua":"DrawBox(x1, y1, z1, x2, y2, z2, red, green, blue, alpha)","luaInvoke":"Citizen.InvokeNative(0xcd4d9dd5, x1, y1, z1, x2, y2, z2, red, green, blue, alpha)","js":"DrawBox(x1, y1, z1, x2, y2, z2, red, green, blue, alpha);","jsInvoke":"Citizen.invokeNative('0xcd4d9dd5', 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)0xcd4d9dd5, 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."]}}