Skip to content

engineGetRadarMapStats

Client-side

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 San Andreas Online unregisters them.

Example

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

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →