IsVehicleOnGround: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
{{Server client function}}
__NOTOC__
Checks to see if a vehicle has contact with the ground.
Checks to see if a vehicle has contact with the ground.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool isVehicleOnGround ( vehicle thevehicle )
bool isVehicleOnGround ( vehicle theVehicle )
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''thevehicle:''' The vehicle you wish to check.
*'''theVehicle:''' The vehicle you wish to check.


===Returns===
===Returns===

Revision as of 19:35, 16 August 2007

Checks to see if a vehicle has contact with the ground.

Syntax

bool isVehicleOnGround ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle you wish to check.

Returns

Returns true if vehicle is on the ground, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea functions -- leave this unless you complete the function