addTextComponentSubstringPhoneNumber
ADD_TEXT_COMPONENT_SUBSTRING_PHONE_NUMBER0x761B77454205A61DThe GTA V native ADD_TEXT_COMPONENT_SUBSTRING_PHONE_NUMBER of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringPhoneNumber, in JavaScript and in Lua.
addTextComponentSubstringPhoneNumber(p0: string, p1: number): voidaddTextComponentSubstringPhoneNumber(p0: string, p1: integer)Usage
JavaScript
addTextComponentSubstringPhoneNumber(p0, p1);Lua
addTextComponentSubstringPhoneNumber(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | string | string | string |
p1 | int | number | integer |
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.
p1 was always -1
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_SUBSTRING_PHONE_NUMBER(const char* p0, int p1)- Hash
0x761B77454205A61D- Formerly
_ADD_TEXT_COMPONENT_APP_TITLE