Garry's Mod Wiki

Revision Difference

Entity:GetNWVarTable#515581

<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>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <description>Prints all NWVars that exist for Player 1.</description>⤶ <code>PrintTable( Entity(1):GetNWVarTable() )</code>⤶ <output>⤶ ```⤶ UserGroup = owner⤶ ```⤶ </output>⤶ ⤶ </example>