NetworkClientNot in this build

setFreemodeReportData

_SET_FREEMODE_REPORT_DATA0x527803286A8B6C81

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

SignatureJavaScript
setFreemodeReportData(gamerHandle: null, reportData: null): void
SignatureLua
setFreemodeReportData(gamerHandle: nil, reportData: nil)
⚠
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
setFreemodeReportData(null, null);
Lua
setFreemodeReportData(nil, nil)

Parameters

ParameterTypeJavaScriptLua
gamerHandleAny*nullnil
reportDataAny*nullnil

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

reportData includes mc, ceo, yacht and licenceplate names

Reference

Namespace
Network NETWORK
In the game
void _SET_FREEMODE_REPORT_DATA(Any* gamerHandle, Any* reportData)
Hash
0x527803286A8B6C81
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference