Description: Returns a hash of an entity's name. (Alternative Name: _GET_ENTITY_PROMPT_NAME_HASH)
| Property | Value |
|---|---|
| Native Name | _GET_CARRIABLE_FROM_ENTITY |
| Hash | 0x31FEF6A20F00B963 |
| Return Type | Hash |
| Build | 1207 |
| Parameters | entity (Entity) |
Parameters
entity(Entity)
Usage
Lua (Direct):
local result = GetCarriableFromEntity(entity)
Lua (Hash):
local result = Citizen.InvokeNative(0x31FEF6A20F00B963, entity)