GetBlipColor: Difference between revisions
(Created page with "Gets the color of a blip. ==Syntax== <pre>int NAPI.Blip.GetBlipColor(Blip blip);</pre> === Required Arguments === *'''blip:''' The blip to get the color from. Parameter inpu...") |
m (Xabi moved page NAPI.Blip.GetBlipColor to GetBlipColor) |
Revision as of 12:40, 27 November 2019
Gets the color of a blip.
Syntax
int NAPI.Blip.GetBlipColor(Blip blip);
Required Arguments
- blip: The blip to get the color from. Parameter input should be in Blip type
Example
C# Syntax
Example
var list = NAPI.Pools.GetAllBlips();
foreach (Blip blip in list)
{
if (NAPI.Blip.GetBlipColor(blip) == 0)
{
NAPI.Blip.SetBlipColor(blip, 38);
}
}