_GET_PERSCHAR_MODEL_NAME
Returns the model hash used by the persistent character definition persCharHash.
Signature
Hash _GET_PERSCHAR_MODEL_NAME(Hash persCharHash); // 0xA00DF706C60173D1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | persCharHash | Hash |
Facts
| Name | _GET_PERSCHAR_MODEL_NAME |
|---|---|
| Hash | 0xA00DF706C60173D1 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0xA00DF706C60173D1, -- _GET_PERSCHAR_MODEL_NAME
GetHashKey("name"), -- Hash persCharHash
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xA00DF706C60173D1", // _GET_PERSCHAR_MODEL_NAME
GetHashKey("name"), // Hash persCharHash
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xA00DF706C60173D1, // _GET_PERSCHAR_MODEL_NAME
(uint)API.GetHashKey("name") // Hash persCharHash
);Related PERSCHAR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.