HUDClientNot in this build

showPurchaseInstructionalButton

_SHOW_PURCHASE_INSTRUCTIONAL_BUTTON0xF6865E26067B708C

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

SignatureJavaScript
showPurchaseInstructionalButton(toggle: boolean): void
SignatureLua
showPurchaseInstructionalButton(toggle: boolean)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
showPurchaseInstructionalButton(toggle);
Lua
showPurchaseInstructionalButton(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void _SHOW_PURCHASE_INSTRUCTIONAL_BUTTON(BOOL toggle)
Hash
0xF6865E26067B708C
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference