HUDClient

setRadarZoomPrecise

SET_RADAR_ZOOM_PRECISE0xBD12C5EEE184C337

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

SignatureJavaScript
setRadarZoomPrecise(zoom: number): void
SignatureLua
setRadarZoomPrecise(zoom: number)

Usage

JavaScript
setRadarZoomPrecise(zoom);
Lua
setRadarZoomPrecise(zoom)

Parameters

ParameterTypeJavaScriptLua
zoomfloatnumbernumber

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.

zoom ranges from 0 to 90f in R* Scripts

Reference

Namespace
HUD HUD
In the game
void SET_RADAR_ZOOM_PRECISE(float zoom)
Hash
0xBD12C5EEE184C337
Formerly
RESPONDING_AS_TEMP

Open in the interactive natives reference