Skip to content

engineGetRadarMapStats

Client-side

Available in Neon, not standard MTA

Returns the current extended-radar hook, registration, loading, failure, and source-byte counters.

Syntax

table engineGetRadarMapStats()

Returns

A table with hooksInstalled, registeredTiles, loadedTiles, failedTiles, and sourceBytes.

Ownership and lifecycle

The resource that creates the TXD owns its tiles. Destroy the TXD or stop the resource and Neon unregisters them.

Example

local stats = engineGetRadarMapStats()
outputDebugString(("radar: %d/%d loaded"):format(stats.loadedTiles, stats.registeredTiles))

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →