EntityWrappers/VehicleWrapper
FVehicle
Asd.
Methods
FromVehicle
Created an FVehicle wrapper from the specified Vehicle.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The |
Returns
| Name | Type |
|---|---|
| static FVehicle | The FVehicle. |
FromNetId
Created an FVehicle wrapper from the specified Vehicle.
Parameters
| Name | Type | Description |
|---|---|---|
| networkId | int | The network ID of the vehicle. |
Returns
| Name | Type |
|---|---|
| static FVehicle | The FVehicle. |
GetStateKey
GetStateBag
Properties
NetworkId
Gets the vehicle's network identifier.
Type: int
VehicleDataId
Gets the PedHistory id.
Type: int
OwnerNetworkId
Gets the network identifier of the vehicle's owner ped.
Type: int
Stopped
Gets the vehicle's observable with a value indicating if the vehicle has been stopped.
Type: FStateBagObservable<bool>
HasGeneratedData
Gets the vehicle's observable with a value indicating if the vehicle has generated data.
Type: FStateBagObservable<bool>
Properties
Gets the properties of the FVehicle.
Type: FVehicleProperties
GetUnderlyingVehicle
Gets the underlying Vehicle.
Type: Vehicle
Owner
Gets the owner of the FVehicle.
Type: Player