Gets the vehicle seat identifier.
VehicleSeat.GetVehicleSeat()
Resets the vehicle seat.
VehicleSeat.Reset()
Checks if the seat is free.
VehicleSeat.IsFree(actor)
Parameter | Description |
---|---|
actorHandle | Passenger identifier. |
Checks if the seat is the driver seat.
VehicleSeat.IsDriver()
Checks if the seat is the gunner seat.
VehicleSeat.IsGunner()
Gets the weapon identifier.
VehicleSeat.GetWeaponId(weaponIndex)
Parameter | Description |
---|---|
weaponIndex | Weapon identifier. |
Gets the number of weapons available on this seat.
VehicleSeat.GetWeaponCount()
Sets the weapon artificial intelligence.
VehicleSeat.SetAIWeapon(weaponHandle)
Parameter | Description |
---|---|
weaponHandle | Weapon identifier. |
Gets the passenger identifier.
VehicleSeat.GetPassengerId()