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

GetPlayerSeatbelt

Материал из RAGE MP Wiki Archive
Версия от 13:25, 27 ноября 2019; imported>Muphy (Created page with "This function will tell you if the player has the seatbelt on or not. ==Syntax== <syntaxhighlight lang="C#" >bool NAPI.Player.GetPlayerSeatbelt(Client player);</syntaxhighlig...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function will tell you if the player has the seatbelt on or not.

Syntax

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

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in bool type.

Usage example(s)

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