GetBlipName

From RAGE Multiplayer Wiki
Revision as of 19:20, 25 November 2019 by Xabi (talk | contribs) (Created page with "Gets the name of a blip. ==Syntax== <pre>string NAPI.Blip.GetBlipName(Blip blip);</pre> === Required Arguments === *'''blip:''' The blip to get the name from. Parameter inpu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gets the name of a blip.

Syntax

string NAPI.Blip.GetBlipName(Blip blip);

Required Arguments

  • blip: The blip to get the name from. Parameter input should be in Blip type

Example

C# Syntax

Example

var list = NAPI.Pools.GetAllBlips();

foreach (Blip blip in list)
{
    if (string.IsNullOrEmpty(NAPI.Blip.GetBlipName(blip)))
    {
        NAPI.Blip.SetBlipName(blip, "My blip");
    }
}