{"hash":"0x076E46E0EB52AFC6","ns":"INTERIOR","name":"GET_ROOM_KEY_FROM_ENTITY","slug":"GET_ROOM_KEY_FROM_ENTITY","official":true,"named":true,"luaName":"GetRoomKeyFromEntity","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"entity","type":"Entity"}],"summary":"Gets the room hash key from the room that the specified entity is in.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the room hash key from the room that the specified entity is in. Each room in every interior has a unique key. Returns 0 if the entity is outside."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x47C2A06D4F5F424B","gtaJhash":"0xE4ACF8C3","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INTERIOR/GET_ROOM_KEY_FROM_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/INTERIOR/GET_ROOM_KEY_FROM_ENTITY.md","snippets":{"lua":"local retval = GetRoomKeyFromEntity(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0x076E46E0EB52AFC6, entity, Citizen.ResultAsInteger())","js":"const retval = GetRoomKeyFromEntity(entity);","jsInvoke":"const retval = Citizen.invokeNative('0x076E46E0EB52AFC6', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x076E46E0EB52AFC6, entity);","notes":[]}}