SetWorldSharedData

From GTA Network Wiki
(Redirected from SetWorldSyncedData)
Jump to: navigation, search

SetWorldSharedData
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This function sets world data that syncs to all clients.

Syntax

void NAPI.Data.SetWorldSharedData(string key, object value);

Required Arguments

  • key: parameter input should be in string type.
  • value: parameter input should be in object type.

Usage example(s)

Example Description

NAPI.Data.SetWorldSharedData("mykey", 1);

Changelog

Version Description
1.0 Release.

References