NetworkClientNot in this build

ugcHasPermissionToWrite

UGC_HAS_PERMISSION_TO_WRITE0xC33E7CBC06EC1A8D

The GTA V native UGC_HAS_PERMISSION_TO_WRITE of the NETWORK namespace, as LS:MP client scripts call it: the global function ugcHasPermissionToWrite, in JavaScript and in Lua.

SignatureJavaScript
ugcHasPermissionToWrite(): boolean
SignatureLua
ugcHasPermissionToWrite(): 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 = ugcHasPermissionToWrite();
Lua
local result = ugcHasPermissionToWrite()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL UGC_HAS_PERMISSION_TO_WRITE()
Hash
0xC33E7CBC06EC1A8D
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference