Game code
POPULATION::GET_PED_MODEL_NAME_IN_POPULATION_SET
0xCC48EC61C1505E3A ·RVA 0x04500A30
Signature
Hash64 GET_PED_MODEL_NAME_IN_POPULATION_SET(
Hash popSetHash,
int index
);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | popSetHash |
– |
| 1 | int | index |
– |
Returns
Hash64
RDR3 says Hash; the game writes a Hash64.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// POPULATION::GET_PED_MODEL_NAME_IN_POPULATION_SET
auto result = invoke<Hash64>(0xCC48EC61C1505E3A, popSetHash, index);// POPULATION::GET_PED_MODEL_NAME_IN_POPULATION_SET
ulong result = Function.Call<ulong>((Hash)0xCC48EC61C1505E3A, popSetHash, index);-- POPULATION::GET_PED_MODEL_NAME_IN_POPULATION_SET
local result = Citizen.InvokeNative(0xCC48EC61C1505E3A, popSetHash, index)// POPULATION::GET_PED_MODEL_NAME_IN_POPULATION_SET
const result = Citizen.invokeNative("0xCC48EC61C1505E3A", popSetHash, index);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.