GetBlipPosition: Difference between revisions
(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 ''...") |
(→Syntax) |
||
| 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]] | |||
Revision as of 15:06, 26 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;