Skip to main content

SetBlipSprite

Sets the sprite (icon type) of a blip.

Syntax​

void NAPI.Blip.SetBlipSprite(NetHandle blip, int/uint sprite);

Required Arguments​

  • blip: Parameter input should be in Blip type
  • sprite: The blip sprite ID to use. This parameter input should be in int or uint type.

C#​

Example​

var blips = NAPI.Pools.GetAllBlips();

foreach (Blip blip in list)
{
NAPI.Blip.SetBlipSprite(blip, 84);
}