Garry's Mod Wiki

Entity:GetNetworkedBool

  boolean Entity:GetNetworkedBool( string key, boolean fallback = false )

Description

We advise against using this. It may be changed or removed in a future update. You should use Entity:GetNWBool instead.

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

Arguments

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

Returns

1 boolean
The retrieved value