- Documentation
- Shared functions
- getBlipName
Function
getBlipName
New function!Added to Trilogy Hub on 2 Nov 2026.
Returns the blip name set by setBlipName, or false when the blip has no name of its own.
Syntax
string getBlipName(blip blip)Arguments
blipblip- The blip.
Returns
The name or false.
Example
for _, blip in ipairs(getElementsByType("blip")) do
local name = getBlipName(blip)
if name then outputChatBox(name) end
end