Garry's Mod Wiki

BuildNetworkedVarsTable

  table BuildNetworkedVarsTable()

Description

Dumps the networked variables of all entities into one table and returns it.

Returns

1 table
Format:
  • key = Entity for NWVars or number (always 0) for global vars
  • value = table formatted as:
    • key = string var name
    • value = any type var value