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

GetPlayerVehicle

Материал из RAGE MP Wiki Archive
Версия от 21:50, 22 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns the vehicle of the given player.

Syntax

<syntaxhighlight lang="C#" >Vehicle NAPI.Player.GetPlayerVehicle(Player player);</syntaxhighlight>

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in Vehicle type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayerVehicle(player);</syntaxhighlight>