IsPedInAnyVehicle — FiveM Natives
0x997ABD671D25CA0B · PED · all
Returns whether the specified ped is in any vehicle. If atGetIn is set to true, also returns true if the ped is currently in the process of entering a vehicle (a specific stage check for CTaskEnterVehicle).
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped to check. |
| atGetIn | BOOL | `true` to also consider attempting to enter a vehicle. |
Returns
BOOL