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

GetBlipColor

Материал из RAGE MP Wiki Archive

Gets the color of a blip.


<syntaxhighlight lang="csharp"> int NAPI.Blip.GetBlipColor(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 (NAPI.Blip.GetBlipColor(blip) == 0)
   {
       NAPI.Blip.SetBlipColor(blip, 38);
   }

} </syntaxhighlight>