_GET_PERSCHAR_INDEX_FROM_PED_INDEX
Hash
0x32A1E3B83D501096Runtime name
GetPerscharIndexFromPedIndexNamespacePERSCHAR
SideClient
NameCommunity guess
Docs
Since build1207
Signature
PersChar _GET_PERSCHAR_INDEX_FROM_PED_INDEX(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns PersChar
Usage
local retval = GetPerscharIndexFromPedIndex(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x32A1E3B83D501096, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPerscharIndexFromPedIndex(ped);
// by hash
const retval = Citizen.invokeNative('0x32A1E3B83D501096', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x32A1E3B83D501096, ped);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.