IS_PED_RUNNING_INSPECTION_TASK
Hash
0x038B1F1674F0E242Runtime name
IsPedRunningInspectionTaskNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_PED_RUNNING_INSPECTION_TASK(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = IsPedRunningInspectionTask(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x038B1F1674F0E242, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedRunningInspectionTask(ped);
// by hash
const retval = Citizen.invokeNative('0x038B1F1674F0E242', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x038B1F1674F0E242, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.