Garry's Mod Wiki

Entity:RestoreNetworkVars

  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.