GetBlipColor

From RAGE Multiplayer Wiki
Revision as of 08:00, 29 November 2019 by Xabi (talk | contribs)

Gets the color of a blip.


{{CSharpContainer|

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