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