RAGE.Elements.Vehicle

From RAGE Multiplayer Wiki
Revision as of 12:58, 12 May 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideCsFunction}} {{CSharpContainer| Create a new vehicle. ===Required Params=== *'''hash:''' {{RageType|uint}} *'''position:''' {{RageType|Vector3}} *'''heading:''' {{RageType|float}} *'''numberPlate:''' {{RageType|string}} *'''alpha:''' {{RageType|int}} *'''locked:''' {{RageType|bool}} *'''primColor:''' {{RageType|int}} *'''secColor:''' {{RageType|int}} *'''dimension:''' {{RageType|uint}} ===Return value=== *''' {{RageType|int}} ''' ==Syntax== <syntaxhighlig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 C#



C# Syntax

Create a new vehicle.

Required Params

  • hash: uint
  • position: Vector3
  • heading: float
  • numberPlate: string
  • alpha: int
  • locked: bool
  • primColor: int
  • secColor: int
  • dimension: uint

Return value

  • int

Syntax

new RAGE.Elements.Vehicle(hash, position, heading, numberPlate, alpha, locked, primColor, secColor, dimension);

Example

//todo


See also