beginTextCommandSetBlipName
BEGIN_TEXT_COMMAND_SET_BLIP_NAME0xF9113A30DE5C6670The GTA V native BEGIN_TEXT_COMMAND_SET_BLIP_NAME of the HUD namespace, as LS:MP client scripts call it: the global function beginTextCommandSetBlipName, in JavaScript and in Lua.
beginTextCommandSetBlipName(textLabel: string): voidbeginTextCommandSetBlipName(textLabel: string)Usage
JavaScript
beginTextCommandSetBlipName(textLabel);Lua
beginTextCommandSetBlipName(textLabel)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
textLabel | string | string | string |
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.
Starts a text command to change the name of a blip displayed in the pause menu.
This should be paired with endTextCommandSetBlipName, once adding all required text components.
Example:
beginTextCommandSetBlipName("STRING");
addTextComponentSubstringPlayerName("Name");
endTextCommandSetBlipName(blip);Reference
- Namespace
- HUD HUD
- In the game
void BEGIN_TEXT_COMMAND_SET_BLIP_NAME(const char* textLabel)- Hash
0xF9113A30DE5C6670