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

IsPlayerInAnyVehicle

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

This function will tell you if the player is in an vehicle.

Syntax

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

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in bool type.

Usage example(s)

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