GET_KEY_FOR_ENTITY_IN_ROOM
Hash
0x27D7B6F79E1F4603Runtime name
GetKeyForEntityInRoomNamespaceINTERIOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x399685DB942336BCSignature
Hash GET_KEY_FOR_ENTITY_IN_ROOM(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns Hash
Description
Seems to do the exact same as INTERIOR::GET_ROOM_KEY_FROM_ENTITY
Usage
local retval = GetKeyForEntityInRoom(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x27D7B6F79E1F4603, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetKeyForEntityInRoom(entity);
// by hash
const retval = Citizen.invokeNative('0x27D7B6F79E1F4603', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x27D7B6F79E1F4603, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.