BeginTextCommandSetBlipName
DocsBeginTextCommandSetBlipName(textLabel)Description
Starts a text command to change the name of a blip displayed in the pause menu.
This should be paired with <code>END_TEXT_COMMAND_SET_BLIP_NAME</code>, once adding all required text components.
Parameters
| Name | Type | Description |
|---|---|---|
textLabel | char* | The text label to set. |
Returns
voidThis native does not return a value.
Examples
Official
-- creates a blip called 'Food for me!' at 0.0, 0.0, 0.0
AddTextEntry('MYBLIP', 'Food for ~a~!')
local blip = AddBlipForCoord(0.0, 0.0, 0.0)
BeginTextCommandSetBlipName('MYBLIP')
AddTextComponentSubstringPlayerName('me')
EndTextCommandSetBlipName(blip)