{"hash":"0x5E58342602E94718","ns":"ENTITY","name":"IS_ENTITY_AT_COORD","slug":"IS_ENTITY_AT_COORD","official":true,"named":true,"luaName":"IsEntityAtCoord","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"xPos","type":"float"},{"name":"yPos","type":"float"},{"name":"zPos","type":"float"},{"name":"xSize","type":"float"},{"name":"ySize","type":"float"},{"name":"zSize","type":"float"},{"name":"p7","type":"BOOL"},{"name":"p8","type":"BOOL"},{"name":"p9","type":"int"}],"summary":"Checks if entity is within x/y/zSize distance of x/y/z.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks if entity is within x/y/zSize distance of x/y/z. \n\nLast three are unknown ints, almost always p7 = 0, p8 = 1, p9 = 0"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x20B60995556D004F","gtaJhash":"0xD749B606","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/IS_ENTITY_AT_COORD","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/IS_ENTITY_AT_COORD.md","snippets":{"lua":"local retval = IsEntityAtCoord(entity, xPos, yPos, zPos, xSize, ySize, zSize, p7, p8, p9)","luaInvoke":"local retval = Citizen.InvokeNative(0x5E58342602E94718, entity, xPos, yPos, zPos, xSize, ySize, zSize, p7, p8, p9, Citizen.ReturnResultAnyway())","js":"const retval = IsEntityAtCoord(entity, xPos, yPos, zPos, xSize, ySize, zSize, p7, p8, p9);","jsInvoke":"const retval = Citizen.invokeNative('0x5E58342602E94718', entity, xPos + 0.0000001, yPos + 0.0000001, zPos + 0.0000001, xSize + 0.0000001, ySize + 0.0000001, zSize + 0.0000001, p7, p8, p9, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x5E58342602E94718, entity, xPos, yPos, zPos, xSize, ySize, zSize, p7, 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."]}}