HUDClient

setMpGamerTagsShouldUseVehicleHealth

SET_MP_GAMER_TAGS_SHOULD_USE_VEHICLE_HEALTH0xA67F9C46D612B6F1

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
gamerTagIdintnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Displays a bunch of icons above the players name, and level, and their name twice

Reference

Namespace
HUD HUD
In the game
void SET_MP_GAMER_TAGS_SHOULD_USE_VEHICLE_HEALTH(int gamerTagId, BOOL toggle)
Hash
0xA67F9C46D612B6F1
Formerly
_SET_MP_GAMER_TAG_ICONS

Open in the interactive natives reference