ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. setBlipName

Function

setBlipName

New function!Added to Trilogy Hub on 2 Nov 2026.

Server and clientBlipsTrilogy Hub only

Sets the name of a single blip, shown in the tooltip when you hover it on the ESC map. An empty name (or nil) goes back to the icon name from addMapBlipName. At most 64 bytes.

Syntax

bool setBlipName(blip blip, string name)

Arguments

blipblip
The blip.
namestring
The name.

Returns

true on success.

Example

local blip = createBlip(2495, -1687, 13.5, 0, 2, 255, 200, 0, 255)
setBlipName(blip, "Twój pojazd")

See also