GetPlayerSeatbelt

From GTA Network Wiki
Jump to: navigation, search

GetPlayerSeatbelt
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

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


icon-warning.png WARNING: This function is synchronous and could take a long time to return. Do not use this if your resource is not multithreaded.

If you know what you're doing and want to use this function anyway, consider reading Meta.xml for more information about multithreaded resources.


Syntax

bool NAPI.Player.GetPlayerSeatbelt(Client player);

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in bool type.

Usage example(s)

Example Description

NAPI.Player.GetPlayerSeatbelt(player);

Changelog

Version Description
1.0 Release.

References