GraphicsClient

getSafeZoneSize

GET_SAFE_ZONE_SIZE0xBAF107B6BB2C97F0

The GTA V native GET_SAFE_ZONE_SIZE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function getSafeZoneSize, in JavaScript and in Lua.

SignatureJavaScript
getSafeZoneSize(): number
SignatureLua
getSafeZoneSize(): number

Usage

JavaScript
const value = getSafeZoneSize();
Lua
local value = getSafeZoneSize()

Parameters

None.

Returns

float JavaScript number, Lua number

Notes

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

Gets the scale of safe zone. if the safe zone size scale is max, it will return 1.0.

Reference

Namespace
Graphics GRAPHICS
In the game
float GET_SAFE_ZONE_SIZE()
Hash
0xBAF107B6BB2C97F0

Open in the interactive natives reference