GetPlayerHealthbarVisible

From GT-MP
Jump to: navigation, search
GetPlayerHealthbarVisible
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript


See also: SetPlayerHealthbarVisible

Returns the visiblity of the Healthbar of the specified Player.

Syntax

In C#
Server-Side Function

bool API.getPlayerHealthbarVisible(Client player);

Required Arguments

  • player: parameter input should be in Client type.

In Javascript
Client-Side Function

bool API.getPlayerHealthbarVisible(LocalHandle player);

Required Arguments

  • player: parameter input should be in LocalHandle type.

NOTE: This function returns data in bool type.

Usage example(s)

API.getPlayerHealthbarVisible(LocalHandle player);


References