StatsClientBlocked

leaderboards2ReadByScoreFloat

LEADERBOARDS2_READ_BY_SCORE_FLOAT0xE662C8B759D08F3C

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

SignatureJavaScript
leaderboards2ReadByScoreFloat(p0: null, p1: number, p2: any): boolean
SignatureLua
leaderboards2ReadByScoreFloat(p0: nil, p1: number, p2: any): 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_SCORE_FLOAT(Any* p0, float p1, Any p2)
Hash
0xE662C8B759D08F3C

Open in the interactive natives reference