Player:IsInVehicle(Player)

shared
Check if the player is in a vehicle.

Argument

Returns

  • boolean Whether the player is in a vehicle.

Examples

Player:IsInVehicle – Check if the player is in a vehicle.