IS_PED_ON_MOUNT
Signature
BOOL IS_PED_ON_MOUNT(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | the ped id |
Returns BOOL — Returns `true` if the specified `ped` is on a mount.
Usage
local retval = IsPedOnMount(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x43103006, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedOnMount(ped);
// by hash
const retval = Citizen.invokeNative('0x43103006', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x43103006, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.