getSafeZoneSize
GET_SAFE_ZONE_SIZE0xBAF107B6BB2C97F0The 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.
getSafeZoneSize(): numbergetSafeZoneSize(): numberUsage
JavaScript
const value = getSafeZoneSize();Lua
local value = getSafeZoneSize()Parameters
None.
Returns
float JavaScript number, Lua numberNotes
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