ugcHasPermissionToWrite
UGC_HAS_PERMISSION_TO_WRITE0xC33E7CBC06EC1A8DThe 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.
ugcHasPermissionToWrite(): booleanugcHasPermissionToWrite(): 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 booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL UGC_HAS_PERMISSION_TO_WRITE()- Hash
0xC33E7CBC06EC1A8D- Introduced
- Game build 3095 legacy numbering