SetBlipScale

From GTA Network Wiki
Jump to: navigation, search

SetBlipScale
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Method allows the increase/decrease the size of a blip.

Syntax

void NAPI.Blip.SetBlipScale(Blip blip, float scale);

Required Arguments

  • blip: parameter input should be in Blip type.
  • scale: parameter input should be in float type.


icon-info.png
  • The default scale of blip is 1 (which is also the size of peds in singleplayer or players in GTA Online).
  • 0.5 is the scale of singleplayer cop peds.
  • Blip with a scale of 0 can not be seen.
  • Setting a negative blip scale will cause it to be seen as upside down.


Usage example(s)

NAPI.Blip.SetBlipScale(myBlip, 10f);

Changelog

Version Description
1.0 Release.

References