showPurchaseInstructionalButton
_SHOW_PURCHASE_INSTRUCTIONAL_BUTTON0xF6865E26067B708CThe 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.
showPurchaseInstructionalButton(toggle: boolean): voidshowPurchaseInstructionalButton(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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