Garry's Mod Wiki

Garry's Mod Wiki

  table Entity:GetNW2VarTable()

Description

Returns all the NW2 variables in an entity.

This function will return keys with empty tables if the NW2Var is nil.

Issue Tracker: 5396

Returns

1 table
Key-Value table of all NW2 variables.

Example

Structure of the returned table.

Entity(1):SetNW2String("Example", "Example") PrintTable(Entity(1):GetNW2VarTable())
Output:
Example: type = String value = Example

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...