DLCClientNot in this build

areUserEntitlementsUpToDate

ARE_USER_ENTITLEMENTS_UP_TO_DATE

The GTA V native ARE_USER_ENTITLEMENTS_UP_TO_DATE of the DLC namespace, as LS:MP client scripts call it: the global function areUserEntitlementsUpToDate, in JavaScript and in Lua.

SignatureJavaScript
areUserEntitlementsUpToDate(): boolean
SignatureLua
areUserEntitlementsUpToDate(): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const result = areUserEntitlementsUpToDate();
Lua
local result = areUserEntitlementsUpToDate()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
DLC DLC
In the game
BOOL ARE_USER_ENTITLEMENTS_UP_TO_DATE()

Open in the interactive natives reference