Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 618 Bytes

EndTextCommandSetBlipName.md

File metadata and controls

26 lines (21 loc) · 618 Bytes
ns
HUD

END_TEXT_COMMAND_SET_BLIP_NAME

// 0xBC38B49BCB83BC9B 0xE8E59820
void END_TEXT_COMMAND_SET_BLIP_NAME(Blip blip);

Finalizes a text command started with BEGIN_TEXT_COMMAND_SET_BLIP_NAME, setting the name of the specified blip.

Parameters

  • blip: The blip to change the name for.

Examples

-- creates a blip called 'Food for me!' at 0.0, 0.0, 0.0
AddTextEntry('MYBLIP', 'Food for ~a~!')

local blip = AddBlipForCoords(0.0, 0.0, 0.0)
BeginTextCommandSetBlipName('MYBLIP')
AddTextComponentSubstringPlayerName('me')
EndTextCommandSetBlipName(blip)