Personal tools

Lua/Client/Player/Functions/InVehicle

From JC2-MP Documentation

< Lua‎ | Client‎ | Player
Jump to: navigation, search

Returns    boolean
Prototype    Player:InVehicle()
Description    Returns whether the player is inside a vehicle. It returns true for driving in a vehicle or being a passenger in one; however, it returns false for stunt-position.


See also