_REQUEST_META_PED_COMPONENT
Hash
0xF6D9E1F3560CBF8ERuntime name
RequestMetaPedComponentNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _REQUEST_META_PED_COMPONENT(int metaPedType, Any p1, int p2, int p3, int p4);Parameters
| Name | Type | Description |
|---|---|---|
metaPedType | int | — |
p1 | Any | — |
p2 | int | — |
p3 | int | — |
p4 | int | — |
Returns Any
Usage
local retval = RequestMetaPedComponent(metaPedType, p1, p2, p3, p4)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF6D9E1F3560CBF8E, metaPedType, p1, p2, p3, p4, Citizen.ResultAsInteger())JavaScript and C#
const retval = RequestMetaPedComponent(metaPedType, p1, p2, p3, p4);
// by hash
const retval = Citizen.invokeNative('0xF6D9E1F3560CBF8E', metaPedType, p1, p2, p3, p4, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xF6D9E1F3560CBF8E, metaPedType, p1, p2, p3, p4);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eMetaPedType 4 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.