_GET_PERSCHAR_OUTFIT
Returns the outfit hash currently set for the persistent character definition persCharHash.
Signature
Hash _GET_PERSCHAR_OUTFIT(Hash persCharHash); // 0xDC9655D47DEC0353 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | persCharHash | Hash |
Facts
| Name | _GET_PERSCHAR_OUTFIT |
|---|---|
| Hash | 0xDC9655D47DEC0353 |
| 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(0xDC9655D47DEC0353, -- _GET_PERSCHAR_OUTFIT
GetHashKey("name"), -- Hash persCharHash
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xDC9655D47DEC0353", // _GET_PERSCHAR_OUTFIT
GetHashKey("name"), // Hash persCharHash
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xDC9655D47DEC0353, // _GET_PERSCHAR_OUTFIT
(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.