Social ClubClientBlocked

scHasAchievementBeenPassed

SC_HAS_ACHIEVEMENT_BEEN_PASSED0x418DC16FAE452C1C

The GTA V native SC_HAS_ACHIEVEMENT_BEEN_PASSED of the SOCIALCLUB namespace, as LS:MP client scripts call it: the global function scHasAchievementBeenPassed, in JavaScript and in Lua.

SignatureJavaScript
scHasAchievementBeenPassed(achievementId: number): boolean
SignatureLua
scHasAchievementBeenPassed(achievementId: integer): 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
Social Club SOCIALCLUB
In the game
BOOL SC_HAS_ACHIEVEMENT_BEEN_PASSED(int achievementId)
Hash
0x418DC16FAE452C1C
Formerly
_SC_GET_HAS_ACHIEVEMENT_BEEN_PASSED

Open in the interactive natives reference