setBlipScale2d
SET_BLIP_SCALE_2D0xCD6524439909C979The 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.
setBlipScale2d(blip: Blip, xScale: number, yScale: number): voidsetBlipScale2d(blip: Blip, xScale: number, yScale: number)Usage
JavaScript
setBlipScale2d(blip, xScale, yScale);Lua
setBlipScale2d(blip, xScale, yScale)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
xScale | float | number | number |
yScale | float | number | number |
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