Garry's Mod Wiki

saverestore.LoadEntity

  saverestore.LoadEntity( Entity ent, IRestore save )

Description

Loads Entity:GetTable from the save game file that is being loaded and merges it with the given entitys Entity:GetTable.

Arguments

1 Entity ent
The entity which will receive the loaded values from the save.
2 IRestore save
The restore object to read the Entity:GetTable from.