IS_PED_STRAFING
Signature
bool IS_PED_STRAFING(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The target ped. |
Returns bool — Whether or not the ped is strafing.
Usage
local retval = IsPedStrafing(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xefeed13c, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedStrafing(ped);
// by hash
const retval = Citizen.invokeNative('0xefeed13c', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xefeed13c, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.