Back to TPG

TPG.Maps.GetSafezoneRadius

S🏷️ Maps

Part of TPG namespace

TPG.Maps.GetSafezoneRadius()
View on GitHub|gamemode/maps/_loader.lua:1116-1119
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

The current map's spawn-protection radius. Every map block below authors safezoneRadius, and until this existed nothing read it -- all four consumers went straight to TPG.Config.safezoneRadius, so the per-map value was a knob that turned nothing. Every authored value happens to equal the global default, so wiring it up changes no map's behaviour today; it just means editing one starts working.

Parameters

No parameters.

Returns

TypeDescription
numberUnits.

Examples

No examples available.

Used In

No usages found in the codebase.