StatsClientBlocked

leaderboards2ReadByPlaform

LEADERBOARDS2_READ_BY_PLAFORM0xF1AE5DCDBFCA2721

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

SignatureJavaScript
leaderboards2ReadByPlaform(
  p0: null,
  gamerHandleCsv: string,
  platformName: string
): boolean
SignatureLua
leaderboards2ReadByPlaform(
  p0: nil,
  gamerHandleCsv: string,
  platformName: string
): boolean
✕
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
BOOL LEADERBOARDS2_READ_BY_PLAFORM(Any* p0, const char* gamerHandleCsv, const char* platformName)
Hash
0xF1AE5DCDBFCA2721
Formerly
_LEADERBOARDS2_READ_BY_PLATFORM

Open in the interactive natives reference