SetBlipPosition: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Sets the position of a blip. ==Syntax== <pre>void NAPI.Blip.SetBlipPosition(Blip blip, Vector3 newPos);</pre> === Required Arguments === *'''blip''': The blip to set the pos...")
 
Line 9: Line 9:


==Example==
==Example==
Sets any existing white blip to blue blip.
{{CSharpContainer|
{{CSharpContainer|
{{Example}}
{{Example}}

Revision as of 15:31, 26 November 2019

Sets the position of a blip.

Syntax

void NAPI.Blip.SetBlipPosition(Blip blip, Vector3 newPos);

Required Arguments

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

Example

C# Syntax

Example

NAPI.Blip.SetBlipPosition(myBlip, new Vector3(0.0, 0.0, 0.0));