GetBlipPosition

From GT-MP
Jump to: navigation, search
GetBlipPosition
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Gets the position of a blip.

Syntax

API.getBlipPosition(NetHandle blip);

Required Arguments

  • blip: The blip to get the position from. This parameter input should be in NetHandle type.

NOTE: This function returns the blip's position as Vector3 type.

Usage example(s)

Teleports a player to a blip.

API.setEntityPosition(player, API.getBlipPosition(myBlip));

References