Перейти к содержанию

GetBlipName

Материал из RAGE MP Wiki Archive
(перенаправлено с «NAPI.Blip.GetBlipName»)

Gets the name of a blip.


<syntaxhighlight lang="csharp"> string NAPI.Blip.GetBlipName(Blip blip);</syntaxhighlight>

Parameters

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


Example

<syntaxhighlight>var list = NAPI.Pools.GetAllBlips();

foreach (Blip blip in list) {

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

} </syntaxhighlight>