IsVehicleInWater: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsVehicleInWater(vehicle)}} {{FuncParameters}} {{FuncParam|vehicle|__EDIT_ME__}} {{FuncReturnValu..."
 
28days (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the vehicle is in water.}}


{{FuncSyntax|IsVehicleInWater(vehicle)}}
{{FuncSyntax|IsVehicleInWater(vehicle)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' if vehicle is in water, otherwise '''false'''}}


== Example ==
== Example ==

Latest revision as of 15:05, 13 November 2019

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__