SetBlipPosition

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

Sets the position of a blip.

Syntax

API.setBlipPosition(NetHandle blip, Vector3 newPos);

Required Arguments

  • blip: The blip to set the position. This parameter input should be in NetHandle type.
  • newPos: The new position for the blip. This parameter input should be in Vector3 type.

Usage example(s)

Sets a blip position to the center of the map.

API.setBlipPosition(myBlip, new Vector3(0.0, 0.0, 0.0));

References