{"hash":"0xB48FCED898292E52","ns":"OBJECT","name":"GET_RAYFIRE_MAP_OBJECT","slug":"GET_RAYFIRE_MAP_OBJECT","official":true,"named":true,"luaName":"GetRayfireMapObject","game":"rdr3","apiset":"client","returnType":"Object","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"name","type":"const char*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xB48FCED898292E52","gtaJhash":"0xA286DE96","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/OBJECT/GET_RAYFIRE_MAP_OBJECT","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/GET_RAYFIRE_MAP_OBJECT.md","snippets":{"lua":"local retval = GetRayfireMapObject(x, y, z, radius, name)","luaInvoke":"local retval = Citizen.InvokeNative(0xB48FCED898292E52, x, y, z, radius, name, Citizen.ResultAsInteger())","js":"const retval = GetRayfireMapObject(x, y, z, radius, name);","jsInvoke":"const retval = Citizen.invokeNative('0xB48FCED898292E52', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, name, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xB48FCED898292E52, x, y, z, radius, name);","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."]}}