Garry's Mod Wiki

Entity:GetNWBool

  any Entity:GetNWBool( string key, any fallback = false )

Description

Retrieves a networked boolean value at specified index on the entity that is set by Entity:SetNWBool.

Arguments

1 string key
The key that is associated with the value
2 any fallback = false
The value to return if we failed to retrieve the value. (If it isn't set)

Returns

1 any
The value associated with the key