{"hash":"0x5EBDA1A3B8CB5EF7","ns":"MISC","name":"ADD_POP_MULTIPLIER_AREA","slug":"ADD_POP_MULTIPLIER_AREA","official":true,"named":true,"luaName":"AddPopMultiplierArea","game":"rdr3","apiset":"client","returnType":"int","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":"pedDensity","type":"float"},{"name":"trafficDensity","type":"float"},{"name":"p8","type":"BOOL"},{"name":"p9","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x88CB484364EFB37A"],"build":"1207","gtaHash":"0x67F6413D3220E18D","gtaJhash":"0x42BF09B3","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/ADD_POP_MULTIPLIER_AREA","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/ADD_POP_MULTIPLIER_AREA.md","snippets":{"lua":"local retval = AddPopMultiplierArea(x1, y1, z1, x2, y2, z2, pedDensity, trafficDensity, p8, p9)","luaInvoke":"local retval = Citizen.InvokeNative(0x5EBDA1A3B8CB5EF7, x1, y1, z1, x2, y2, z2, pedDensity, trafficDensity, p8, p9, Citizen.ResultAsInteger())","js":"const retval = AddPopMultiplierArea(x1, y1, z1, x2, y2, z2, pedDensity, trafficDensity, p8, p9);","jsInvoke":"const retval = Citizen.invokeNative('0x5EBDA1A3B8CB5EF7', x1 + 0.0000001, y1 + 0.0000001, z1 + 0.0000001, x2 + 0.0000001, y2 + 0.0000001, z2 + 0.0000001, pedDensity + 0.0000001, trafficDensity + 0.0000001, p8, p9, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x5EBDA1A3B8CB5EF7, x1, y1, z1, x2, y2, z2, pedDensity, trafficDensity, p8, p9);","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."]}}