IS_EVENT_IN_QUEUE
Hash
0xC8D523BF5BBD3808Runtime name
IsEventInQueueNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_EVENT_IN_QUEUE(Ped ped, Hash eventType);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
eventType | Hash | — |
Returns BOOL
Usage
local retval = IsEventInQueue(ped, eventType)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC8D523BF5BBD3808, ped, eventType, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsEventInQueue(ped, eventType);
// by hash
const retval = Citizen.invokeNative('0xC8D523BF5BBD3808', ped, eventType, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xC8D523BF5BBD3808, 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.