GetBlipName

From RAGE Multiplayer Wiki
Revision as of 12:41, 27 November 2019 by Xabi (talk | contribs) (Xabi moved page NAPI.Blip.GetBlipName to GetBlipName)

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");
    }
}