IS_PED_RESPONDING_TO_EVENT
Hash
0x625B774D75C87068Runtime name
IsPedRespondingToEventNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x625B774D75C87068Signature
BOOL IS_PED_RESPONDING_TO_EVENT(Ped ped, Hash eventType);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
eventType | Hash | — |
Returns BOOL
Description
eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt
Usage
local retval = IsPedRespondingToEvent(ped, eventType)
-- always works, by hash
local retval = Citizen.InvokeNative(0x625B774D75C87068, ped, eventType, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedRespondingToEvent(ped, eventType);
// by hash
const retval = Citizen.invokeNative('0x625B774D75C87068', ped, eventType, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x625B774D75C87068, 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`.
Enums and flags
- eEventType 492 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.