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