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