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

Vehicle::getOwner

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

The resulting entity can be a Vehicle or player.

The native is stored between GET_VEHICLE_LIVERY_COUNT and GET_VEHICLE_MAX_BRAKING so the actual name is either GET_VEHICLE_L* or GET_VEHICLE_M*

Syntax

<syntaxhighlight lang="javascript">vehicle.getOwner(entity);</syntaxhighlight>

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

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

See also