Перейти к содержанию

Vehicle::getRandomVehicleModelInMemory

Материал из RAGE MP Wiki Archive

Not present in the retail version! It's just a nullsub.

p0 always true (except in one case)
p1 returns a random vehicle hash loaded in memory
p2 unsure, maybe returns a different model

Syntax

<syntaxhighlight lang="javascript">mp.game.vehicle.getRandomVehicleModelInMemory(p0, modelHash, p2);</syntaxhighlight>

Required Arguments

  • p0: Boolean
  • modelHash: Hash
  • p2: int

Return value

  • object: modelHash, p2

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also