Garry's Mod Wiki

Revision Difference

Entity:GetNWVarTable#563349

<function name="GetNWVarTable" parent="Entity" type="classfunc"> <description>Returns all the networked variables in an entity.</description> <realm>Shared</realm> <rets> <ret name="" type="table">Key-Value table of all networked variables.</ret> <ret name="" type="table<string,any>">Key-Value table of all networked variables.</ret> </rets> </function> <example> <description>Prints all NWVars that exist for Player 1.</description> <code>PrintTable( Entity(1):GetNWVarTable() )</code> <output> ``` UserGroup = owner ``` </output> </example>