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

Dlc1::getDlcVehicleData

Материал из RAGE MP Wiki Archive
Версия от 21:06, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

dlcVehicleIndex takes a number from 0 - GET_NUM_DLC_VEHICLES() - 1.
outData is a struct of 3 8-byte items.
The Second item in the struct *(Hash *)(outData + 1) is the vehicle hash.

Syntax

<syntaxhighlight lang="javascript">mp.game.dlc1.getDlcVehicleData(dlcVehicleIndex, outData);</syntaxhighlight>

Required Arguments

  • dlcVehicleIndex: int
  • outData: unknown (to be checked)

Return value

  • Boolean

Example

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

See also

Шаблон:Dlc1 s function c