GetBlipName

From RAGE Multiplayer Wiki
Revision as of 08:02, 29 November 2019 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gets the name of a blip.


C# Syntax

 string NAPI.Blip.GetBlipName(Blip blip);

Parameters

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


Example

var list = NAPI.Pools.GetAllBlips();

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