HUDClient

setMpGamerTagsShouldUsePointsHealth

SET_MP_GAMER_TAGS_SHOULD_USE_POINTS_HEALTH0xD29EC58C2F6B5014

The GTA V native SET_MP_GAMER_TAGS_SHOULD_USE_POINTS_HEALTH of the HUD namespace, as LS:MP client scripts call it: the global function setMpGamerTagsShouldUsePointsHealth, in JavaScript and in Lua.

SignatureJavaScript
setMpGamerTagsShouldUsePointsHealth(gamerTagId: number, toggle: boolean): void
SignatureLua
setMpGamerTagsShouldUsePointsHealth(gamerTagId: integer, toggle: boolean)

Usage

JavaScript
setMpGamerTagsShouldUsePointsHealth(gamerTagId, toggle);
Lua
setMpGamerTagsShouldUsePointsHealth(gamerTagId, toggle)

Parameters

ParameterTypeJavaScriptLua
gamerTagIdintnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_MP_GAMER_TAGS_SHOULD_USE_POINTS_HEALTH(int gamerTagId, BOOL toggle)
Hash
0xD29EC58C2F6B5014
Introduced
Game build 1365 legacy numbering
Formerly
_SET_MP_GAMER_HEALTH_BAR_DISPLAY

Open in the interactive natives reference