Lua/Client/Player/Functions/InVehicle
From JC2-MP Documentation
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. |