Table of Contents

Class Blip

Namespace
FivemToolsLib.Client.NativeWrappers
Assembly
FivemToolsLib.Client.net.dll

Provides helper methods to create and manage map blips in the game.

public static class Blip
Inheritance
Blip
Inherited Members

Methods

AddBlipForEntity(int, string, int, int)

Creates a blip for an existing entity and assigns it a name, color, and sprite.

public static int AddBlipForEntity(int entityId, string name, int color, int sprite)

Parameters

entityId int

The entity ID to attach the blip to.

name string

The name displayed on the map for the blip.

color int

The numeric color ID for the blip.

sprite int

The numeric sprite ID for the blip icon.

Returns

int

The handle of the created blip.

CreateBlip(string, int, int, Vector3)

Creates a new blip at the specified world position with a custom name, color, and sprite.

public static Blip CreateBlip(string name, int color, int sprite, Vector3 position)

Parameters

name string

The name displayed on the map for the blip.

color int

The numeric color ID for the blip.

sprite int

The numeric sprite ID for the blip icon.

position Vector3

The world position where the blip should appear.

Returns

Blip

The created CitizenFX.Core.Blip object.

RemoveBlip(Blip)

Removes a previously created blip from the map.

public static void RemoveBlip(Blip blip)

Parameters

blip Blip

The blip to be removed.