Anonymous

Not logged in

  • Log in
Onset Developer Wiki

IsVehicleSeatOccupied

From Onset Developer Wiki

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History
IsVehicleSeatOccupied

Type: Function
Context: Client
Introduced: v1.0

Contents

  • 1 Description
  • 2 Syntax
    • 2.1 Parameters
    • 2.2 Return Value
  • 3 Example
  • 4 See also

Description

Check if the specified seat of the vehicle is occupied or not.

Syntax

IsVehicleSeatOccupied(vehicle, seat)

Parameters

  • vehicle
    The vehicle identifier.
  • seat
    The seat identifier.

Return Value

  • Returns true on success.

Example

__EDIT_ME__

See also

  • CreateVehicle
  • DestroyVehicle
  • IsValidVehicle
  • GetVehicleCount
  • GetAllVehicles
  • GetVehicleModel
  • GetVehicleModelName
  • SetVehicleRespawnParams
  • IsVehicleStreamedIn
  • GetStreamedVehiclesForPlayer
  • GetStreamedVehicles
  • SetVehicleLocation
  • GetVehicleLocation
  • SetVehicleRotation
  • GetVehicleRotation
  • SetVehicleHeading
  • GetVehicleHeading
  • SetVehicleHealth
  • GetVehicleHealth
  • SetVehicleLicensePlate
  • GetVehicleVelocity
  • GetVehicleDriver
  • GetVehiclePassenger
  • GetVehicleNumberOfSeats
  • SetVehicleColor
  • GetVehicleColor
  • SetVehicleLinearVelocity
  • SetVehicleAngularVelocity
  • GetVehicleGear
  • SetVehicleHoodRatio
  • GetVehicleHoodRatio
  • SetVehicleTrunkRatio
  • GetVehicleTrunkRatio
  • StartVehicleEngine
  • StopVehicleEngine
  • GetVehicleEngineState
  • SetVehicleLightEnabled
  • GetVehicleLightState
  • SetVehicleDamage
  • GetVehicleDamage
  • AttachVehicleNitro
Retrieved from "https://dev.playonset.com/index.php?title=IsVehicleSeatOccupied&oldid=2909"

Navigation

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help about MediaWiki
  • Steam Forums
  • Discord
  • Special pages

Wiki tools

Wiki tools

    Page tools

    Page tools

      User page tools

        More

        • What links here
        • Related changes
        • Printable version
        • Permanent link
        • Page information
        • Page logs
        • (c) 2025 Blue Mountains GmbH
        • Powered by MediaWiki
        • This page was last edited on 19 November 2019, at 15:29.
        • Content is available under (c) 2025 Blue Mountains GmbH unless otherwise noted.
        • Privacy policy
        • About Onset Developer Wiki
        • Disclaimers