SetBlipColor
Sets the color of a blip.
Syntax
void NAPI.Blip.SetBlipColor(Blip blip, int color);
Required Arguments
- blip: The blip to set the color. Parameter input should be in Blip type
- color: The blip color to set. Parameter input should be in int type
Example
Sets names based on ID to any existing blip without a name.
C# Syntax
Example
var blips = NAPI.Pools.GetAllBlips();
for (int i = 0; i < blips.Count; i++)
if (string.IsNullOrEmpty(NAPI.Blip.GetBlipName(b)))
NAPI.Blip.SetBlipName(b, "Blip No." + i);