HUDClient

addTextComponentSubstringWebsite

ADD_TEXT_COMPONENT_SUBSTRING_WEBSITE0x94CF4AC034C9C986

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

SignatureJavaScript
addTextComponentSubstringWebsite(website: string): void
SignatureLua
addTextComponentSubstringWebsite(website: string)

Usage

JavaScript
addTextComponentSubstringWebsite(website);
Lua
addTextComponentSubstringWebsite(website)

Parameters

ParameterTypeJavaScriptLua
websitestringstringstring

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.

This native (along with addTextComponentSubstringKeyboardDisplay and addTextComponentSubstringPlayerName) do not actually filter anything. They simply add the provided text (as of 944)

Reference

Namespace
HUD HUD
In the game
void ADD_TEXT_COMPONENT_SUBSTRING_WEBSITE(const char* website)
Hash
0x94CF4AC034C9C986
Formerly
_ADD_TEXT_COMPONENT_STRING2

Open in the interactive natives reference