Skip to end of metadata
Go to start of metadata

GetVehicleSeat

Gets the vehicle seat identifier.

Syntax
VehicleSeat.GetVehicleSeat()

Reset

Resets the vehicle seat.

Syntax
VehicleSeat.Reset()

IsFree

Checks if the seat is free.

Syntax
VehicleSeat.IsFree(actor)
ParameterDescription
actorHandlePassenger identifier.

IsDriver

Checks if the seat is the driver seat.

Syntax
VehicleSeat.IsDriver()

IsGunner

Checks if the seat is the gunner seat.

Syntax
VehicleSeat.IsGunner()

GetWeaponId

Gets the weapon identifier.

Syntax
VehicleSeat.GetWeaponId(weaponIndex)
ParameterDescription
weaponIndexWeapon identifier.

GetWeaponCount

Gets the number of weapons available on this seat.

Syntax
VehicleSeat.GetWeaponCount()

SetAIWeapon

Sets the weapon artificial intelligence.

Syntax
VehicleSeat.SetAIWeapon(weaponHandle)
ParameterDescription
weaponHandleWeapon identifier.

GetPassengerId

Gets the passenger identifier.

Syntax
VehicleSeat.GetPassengerId()
  • No labels