Garry's Mod Wiki

Garry's Mod Wiki

  Entity:RestoreNetworkVars( table data )

Description

Calls the associated Entity:Set* function for each network var provided.

This is used internally - although you're able to use it you probably shouldn't. Used for the built-in duplicator, you do not need to call this yourself.
This function will only work on entities which had Entity:InstallDataTable called on them, which is done automatically for players and all Scripted Entities

Arguments

1 table data
The data from Entity:GetNetworkVars.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...