SetVehicleWheelType: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function sets the type of the vehicle wheels. *Wheel Types: *0: Sport *1: Muscle *2: Lowrider *3: SUV *4: Offroad *5: Tuner *6: Bike Wheels *7: High End ==Syntax== {{#t...")
 
No edit summary
Line 1: Line 1:
This function sets the type of the vehicle wheels.
This function sets the type of the vehicle wheels.
*Wheel Types:
==Wheel Types==
*0: Sport
*0: Sport
*1: Muscle
*1: Muscle
Line 10: Line 10:
*7: High End
*7: High End


 
{{CSharpContainer|
==Syntax==
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleWheelType(Vehicle vehicle, int type);}}
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleWheelType(Vehicle vehicle, int type);}}
=== Required Arguments ===
*'''vehicle:''' parameter input should be in '''Vehicle''' type
*'''type:''' parameter input should be in '''int''' type
==Example==
{{CSharpContainer|
{{Parameters}}
{{Parameters}}
*'''vehicle:''' parameter input should be in '''Vehicle''' type
*'''vehicle:''' parameter input should be in '''Vehicle''' type

Revision as of 21:01, 27 November 2019

This function sets the type of the vehicle wheels.

Wheel Types

  • 0: Sport
  • 1: Muscle
  • 2: Lowrider
  • 3: SUV
  • 4: Offroad
  • 5: Tuner
  • 6: Bike Wheels
  • 7: High End


C# Syntax

void NAPI.Vehicle.SetVehicleWheelType(Vehicle vehicle, int type);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • type: parameter input should be in int type

Example

NAPI.NAPI.Vehicle.SetVehicleWheelType(vehicle, 5);