SetBlipSprite: Difference between revisions
No edit summary |
m (Xabi moved page NAPI.Blip.SetBlipSprite to SetBlipSprite) |
Latest revision as of 12:44, 27 November 2019
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);
}