_0x5E9FAF6C513347B4
Only used in R* SP Scripts _GET_PED_IN*
Hash
0x5E9FAF6C513347B4Runtime name
N_0x5e9faf6c513347b4NamespacePED
SideClient
NameHash only
Docs
Since build1207
Signature
Entity _0x5E9FAF6C513347B4(Ped ped, Hash eventType);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
eventType | Hash | — |
Returns Entity
Description
Only used in R* SP Scripts
_GET_PED_IN*
Usage
local retval = N_0x5e9faf6c513347b4(ped, eventType)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5E9FAF6C513347B4, ped, eventType, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x5e9faf6c513347b4(ped, eventType);
// by hash
const retval = Citizen.invokeNative('0x5E9FAF6C513347B4', ped, eventType, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x5E9FAF6C513347B4, ped, eventType);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - This native has no known name, so the runtime exposes it only as
N_0x5e9faf6c513347b4(if present in the client snapshot).InvokeNativewith the hash always works.
Enums and flags
- eEventType 492 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.