SetBlipSprite

From RAGE Multiplayer Wiki
Revision as of 12:44, 27 November 2019 by Xabi (talk | contribs) (Xabi moved page NAPI.Blip.SetBlipSprite to SetBlipSprite)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Example

C# Syntax

Example

var blips = NAPI.Pools.GetAllBlips();

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