The Lab
PED native

IS_EVENT_IN_QUEUE

returns BOOL2 paramsbuild 1207

Returns true if an event of type eventType is queued on ped.

Signature

C
BOOL IS_EVENT_IN_QUEUE(Ped ped, Hash eventType); // 0xC8D523BF5BBD3808 b1207

Parameters

#NameType
1pedPed
2eventTypeHash

Facts

Facts about IS_EVENT_IN_QUEUE
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.

Lua
local result = Citizen.InvokeNative(0xC8D523BF5BBD3808, -- IS_EVENT_IN_QUEUE
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash eventType
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xC8D523BF5BBD3808", // IS_EVENT_IN_QUEUE
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash eventType
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xC8D523BF5BBD3808, // IS_EVENT_IN_QUEUE
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash eventType
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.