Vehicle::createVehicle

From RAGE Multiplayer Wiki
Revision as of 21:35, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

p6 - last parameter does not mean vehicle handle is returned
maybe a quick view in disassembly will tell us what is actually does


p6 seems to check for something with the script in the disassembly

Syntax

mp.game.vehicle.createVehicle(modelHash, x, y, z, heading, networkHandle, vehiclehandle);

Required Arguments

  • modelHash: Model hash or name
  • x: float
  • y: float
  • z: float
  • heading: float
  • networkHandle: Boolean
  • vehiclehandle: Boolean

Return value

  • unknown (to be checked)

Example

// todo

See also