{"hash":"0xED4B0486","ns":"CFX","name":"GET_ENTITY_ROUTING_BUCKET","slug":"GET_ENTITY_ROUTING_BUCKET","official":true,"named":true,"luaName":"GetEntityRoutingBucket","game":"cfx","apiset":"server","returnType":"int","params":[{"name":"entity","type":"Entity","description":"The entity to get the routing bucket for."}],"returnsDescription":"The routing bucket ID.","summary":"Gets the routing bucket for the specified entity.","descriptions":[{"source":"cfx","format":"md","body":"Gets the routing bucket for the specified entity.\n\nRouting buckets are also known as 'dimensions' or 'virtual worlds' in past echoes, however they are population-aware."}],"examples":[],"aliases":[],"enums":[],"related":["0x635E5289"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ROUTING_BUCKET","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ROUTING_BUCKET.md","snippets":{"lua":"local retval = GetEntityRoutingBucket(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0xed4b0486, entity, Citizen.ResultAsInteger())","js":"const retval = GetEntityRoutingBucket(entity);","jsInvoke":"const retval = Citizen.invokeNative('0xed4b0486', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xed4b0486, entity);","notes":[]}}