note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
IsVehicleHidden
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
warning
This function has not yet been implemented.
Description
Checks if a vehicle is hidden.
Parameters
Name | Description |
---|---|
vehicleid | The ID of the vehicle to check. |
Return Values
true - Vehicle is hidden.
false - Vehicle is not hidden.
Examples
if (IsVehicleHidden(vehicleid))
{
// Vehicle is hidden
}
else
{
// Vehicle is not hidden
}
Related Functions
- HideVehicle: Hides a vehicle from the game.
- ShowVehicle: Shows the hidden vehicle.