The Lab
TASK native

_FIND_MODEL_FOR_ITEM

returns Hash1 parambuild 1207

Returns the model hash used to represent item in the world.

Signature

C
Hash _FIND_MODEL_FOR_ITEM(Hash item); // 0xE47DD64B9F02677D b1207

Parameters

#NameType
1itemHash

Facts

Facts about _FIND_MODEL_FOR_ITEM
Name
_FIND_MODEL_FOR_ITEM
Hash
0xE47DD64B9F02677D
Namespace
Returns
Hash
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local hash = Citizen.InvokeNative(0xE47DD64B9F02677D, -- _FIND_MODEL_FOR_ITEM
  GetHashKey("name"), -- Hash item
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0xE47DD64B9F02677D", // _FIND_MODEL_FOR_ITEM
  GetHashKey("name"), // Hash item
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0xE47DD64B9F02677D, // _FIND_MODEL_FOR_ITEM
  (uint)API.GetHashKey("name") // Hash item
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.