GetBlipPosition: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "==Syntax== <pre>Vector3 NAPI.Blip.GetBlipPosition(Blip blip);</pre> === Required Arguments === *'''blip:''' The blip to get the position from. Parameter input should be in ''...")
 
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
=== Required Arguments ===
=== Required Arguments ===
*'''blip:''' The blip to get the position from. Parameter input should be in '''Blip''' type
*'''blip:''' The blip to get the position from. Parameter input should be in '''Blip''' type
==Example==
{{CSharpContainer|
{{Example}}
<syntaxhighlight lang="C#">
Vector3 position = NAPI.Blip.GetBlipPosition(blip);
player.Position = position;
</syntaxhighlight>
}}
[[Category:Serverside API]]

Latest revision as of 12:41, 27 November 2019

Syntax

Vector3 NAPI.Blip.GetBlipPosition(Blip blip);

Required Arguments

  • blip: The blip to get the position from. Parameter input should be in Blip type

Example

C# Syntax

Example

Vector3 position = NAPI.Blip.GetBlipPosition(blip);
player.Position = position;