Property | Type | Description | |
---|---|---|---|
Boost | bool | ||
Invincible | bool | ||
SeatBelt | bool | ||
SpawnIntoVehicle | bool |
Method | Description | |
---|---|---|
Clean ( |
Cleans current vehicle
|
|
InitFeatures ( ) : void |
Initializes vehicle features
|
|
Repair ( |
Repairs current vehicle
|
|
ReturnToVehicleMenu ( ) : void |
Returns to the vehicle menu
|
|
SetBoost ( |
Sets speed boost
|
|
SetInvincible ( |
Sets invincible
|
|
SetSeatBelt ( |
Sets seat belt feature
|
|
SetSpawnIntoVehicle ( |
Sets spawn into vehicle
|
|
SpawnVehicle ( |
Spawns the specified vehicle
|
|
StopVehicle ( ) : void |
Stops current vehicle
|
|
UpdateBoostVehicle ( ) : void |
Update boosts vehicle
|
|
UpdateFeatures ( ) : void |
Updates vehicle features
|
Method | Description | |
---|---|---|
CheckInVehicle ( bool showNotification = true ) : bool |
Checks whether the player is in a vehicle.
|
|
SpawnVehicle ( VehicleData data, bool cleanUp ) : int |
Spawns the specified vehicle
|
|
SpawnVehicle ( int hash, string name, bool cleanUp ) : int |
Spawns the specified vehicle
|
public static Clean ( |
||
sender | Source menu item | |
return | void |
public static Repair ( |
||
sender | Source menu item | |
return | void |
public static SetBoost ( |
||
sender | Source menu item | |
return | void |
public static SetInvincible ( |
||
sender | Source menu item | |
return | void |
public static SetSeatBelt ( |
||
sender | Source menu item | |
return | void |
public static SetSpawnIntoVehicle ( |
||
sender | Source menu item | |
return | void |
public static SpawnVehicle ( |
||
sender | Source menu item | |
return | void |