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

GetBlipColor

Материал из RAGE MP Wiki Archive
Версия от 08:01, 29 ноября 2019; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>