HUDClient

setBlipScale2d

SET_BLIP_SCALE_2D0xCD6524439909C979

The GTA V native SET_BLIP_SCALE_2D of the HUD namespace, as LS:MP client scripts call it: the global function setBlipScale2d, in JavaScript and in Lua.

SignatureJavaScript
setBlipScale2d(blip: Blip, xScale: number, yScale: number): void
SignatureLua
setBlipScale2d(blip: Blip, xScale: number, yScale: number)

Usage

JavaScript
setBlipScale2d(blip, xScale, yScale);
Lua
setBlipScale2d(blip, xScale, yScale)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
xScalefloatnumbernumber
yScalefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_SCALE_2D(Blip blip, float xScale, float yScale)
Hash
0xCD6524439909C979
Introduced
Game build 1734 legacy numbering
Formerly
_SET_BLIP_SCALE_TRANSFORMATION

Open in the interactive natives reference