StatsClientBlocked

leaderboardsGetCacheNumberOfRows

LEADERBOARDS_GET_CACHE_NUMBER_OF_ROWS0x58A651CD201D89AD

The GTA V native LEADERBOARDS_GET_CACHE_NUMBER_OF_ROWS of the STATS namespace, as LS:MP client scripts call it: the global function leaderboardsGetCacheNumberOfRows, in JavaScript and in Lua.

SignatureJavaScript
leaderboardsGetCacheNumberOfRows(p0: any): number
SignatureLua
leaderboardsGetCacheNumberOfRows(p0: any): integer
✕
Blocked for scripts: Rockstar accounts and commerce

Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Stats STATS
In the game
int LEADERBOARDS_GET_CACHE_NUMBER_OF_ROWS(Any p0)
Hash
0x58A651CD201D89AD

Open in the interactive natives reference