SampSharp
SampSharp
SampSharp.GameMode.World
BaseVehicle Class
BaseVehicle Methods
AddComponent Method
ChangeColor Method
ChangePaintjob Method
Create Method
CreateStatic Method
Dispose Method
GetComponentInSlot Method
GetComponentType Method
GetDamageStatus Method
GetDistanceFromPoint Method
GetDoorsParameters Method
GetModelInfo Method
GetParameters Method
GetRotationQuat Method
GetWindowsParameters Method
IsStreamedIn Method
LinkToInterior Method
OnDamageStatusUpdated Method
OnDeath Method
OnMod Method
OnPaintjobApplied Method
OnPlayerEnter Method
OnPlayerExit Method
OnResprayed Method
OnSirenStateChanged Method
OnSpawn Method
OnStreamIn Method
OnStreamOut Method
OnTrailerUpdate Method
OnUnoccupiedUpdate Method
RemoveComponent Method
Repair Method
Respawn Method
SetAngularVelocity Method
SetDoorsParameters Method
SetNumberPlate Method
SetParameters Method
SetParametersForPlayer Method
SetWindowsParameters Method
UpdateDamageStatus Method
BaseVehicle
GetModelInfo Method
Retrieve information about a specific vehicle model such as the size or position of seats.
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
Vector3
GetModelInfo
(
VehicleModelType
model
,
VehicleModelInfoType
infotype
)
Parameters
model
Type:
SampSharp.GameMode.Definitions
VehicleModelType
The vehicle model to get info of.
infotype
Type:
SampSharp.GameMode.Definitions
VehicleModelInfoType
The type of information to retrieve.
Return Value
Type:
Vector3
The offset vector.
See Also
Reference
BaseVehicle Class
SampSharp.GameMode.World Namespace