Template:Global definition

From RAGE Multiplayer Wiki
Revision as of 08:59, 14 December 2020 by RmpDev (talk | contribs)

Object named mp contains all available multiplayer API.

It has slightly mixed functionality. Thus you can create some objects using new construction meanwhile the rest still must be created using functions like mp.objects.new().

Properties of mp are basically Pools of objects to be synchronised with clients. Creating new objects on server side usually means that they will be automatically shown and updated for clients.