GetAllBlips

From GT-MP
Jump to: navigation, search
GetAllBlips
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Gets all blips created with createBlip.

Syntax

In C#
Server-Side Function

API.getAllBlips();

Required Arguments


NOTE: This function returns data in List<NetHandle> type.

Usage example

In C#
Server-Side Function

var blips = API.getAllBlips();
API.consoleOutput("Total blips: " + blips.Count);

In C#
Server-Side Function

var blips = API.getAllBlips();
foreach(var bhandle in blips)
    API.setBlipSprite(bhandle, 84);

References