IS_EVENT_IN_QUEUE
Returns true if an event of type eventType is queued on ped.
Signature
BOOL IS_EVENT_IN_QUEUE(Ped ped, Hash eventType); // 0xC8D523BF5BBD3808 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | eventType | Hash |
Facts
| Name | IS_EVENT_IN_QUEUE |
|---|---|
| Hash | 0xC8D523BF5BBD3808 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC8D523BF5BBD3808, -- IS_EVENT_IN_QUEUE
PlayerPedId(), -- Ped ped
GetHashKey("name") -- Hash eventType
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC8D523BF5BBD3808", // IS_EVENT_IN_QUEUE
PlayerPedId(), // Ped ped
GetHashKey("name"), // Hash eventType
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC8D523BF5BBD3808, // IS_EVENT_IN_QUEUE
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name") // Hash eventType
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.