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

IsPlayerInAnyVehicle

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

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>