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..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Check if the vehicle is in water.}} | ||
{{FuncSyntax|IsVehicleInWater(vehicle)}} | {{FuncSyntax|IsVehicleInWater(vehicle)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|vehicle| | {{FuncParam|vehicle|The vehicle identifier}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' if vehicle is in water, otherwise '''false'''}} | ||
== Example == | == Example == |
Latest revision as of 15:05, 13 November 2019
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__