IsVehicleInWater

From Onset Developer Wiki
IsVehicleInWater

Type: Function
Context: Client
Introduced: v1.0

Description

Check if the vehicle is in water.

Syntax

IsVehicleInWater(vehicle)

Parameters

  • vehicle
    The vehicle identifier

Return Value

  • Returns true if vehicle is in water, otherwise false

Example

__EDIT_ME__

See also

__EDIT_ME__