The Lab
PED native

_REQUEST_META_PED

returns int2 paramsbuild 1207

Requests the meta ped data for model and returns a request id.

Signature

C
int _REQUEST_META_PED(Hash model, int p1); // 0xF97C34C33487D569 b1207

Parameters

#NameType
1modelHash
2p1int

Facts

Facts about _REQUEST_META_PED
Name
_REQUEST_META_PED
Hash
0xF97C34C33487D569
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xF97C34C33487D569, -- _REQUEST_META_PED
  GetHashKey("a_c_horse_arabian_white"), -- Hash model
  0, -- int p1
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xF97C34C33487D569", // _REQUEST_META_PED
  GetHashKey("a_c_horse_arabian_white"), // Hash model
  0, // int p1
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xF97C34C33487D569, // _REQUEST_META_PED
  (uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash model
  0 // int p1
);
All PED natives

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