SetBlipName

From RAGE Multiplayer Wiki
Revision as of 12:43, 27 November 2019 by Xabi (talk | contribs) (Xabi moved page NAPI.Blip.SetBlipName to SetBlipName)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sets the name of a blip. A blip's name is a title which can be viewed through the game map.

Syntax

void NAPI.Blip.SetBlipName(Blip blip, string name);

Required Arguments

  • blip: The blip to set the name. This parameter input should be in Blip type.
  • name: The name to use on that blip. This parameter input should be in string type.

Example

C# Syntax

Example

var blips = NAPI.Pools.GetAllBlips();
for (int i = 0; i < blips.Count; i++)
    if (string.IsNullOrEmpty(NAPI.Blip.GetBlipName(b)))
        NAPI.Blip.SetBlipName(b, "Blip No." + i);