networkSetCurrentPublicContentId
NETWORK_SET_CURRENT_PUBLIC_CONTENT_ID0x2C863ACDCD12B3DBThe GTA V native NETWORK_SET_CURRENT_PUBLIC_CONTENT_ID of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetCurrentPublicContentId, in JavaScript and in Lua.
networkSetCurrentPublicContentId(missionId: string): voidnetworkSetCurrentPublicContentId(missionId: string)Usage
JavaScript
networkSetCurrentPublicContentId(missionId);Lua
networkSetCurrentPublicContentId(missionId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
missionId | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_CURRENT_PUBLIC_CONTENT_ID(const char* missionId)- Hash
0x2C863ACDCD12B3DB- Introduced
- Game build 2699 legacy numbering
- Formerly
_NETWORK_SET_CURRENT_MISSION_ID