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)
Parameter | Description |
---|---|
actorHandle | Passenger 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)
Parameter | Description |
---|---|
weaponIndex | Weapon identifier. |
GetWeaponCount
Gets the number of weapons available on this seat.
Syntax
VehicleSeat.GetWeaponCount()
SetAIWeapon
Sets the weapon artificial intelligence.
Syntax
VehicleSeat.SetAIWeapon(weaponHandle)
Parameter | Description |
---|---|
weaponHandle | Weapon identifier. |
GetPassengerId
Gets the passenger identifier.
Syntax
VehicleSeat.GetPassengerId()
Overview
Content Tools