Entity/GetNWBool

From Garry's Mod
Jump to: navigation, search
 Entity:GetNWBool( )

Contents

Description

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

Arguments

string key

The key that is associated with the value

Arguments

any fallback=false

The value to return if we failed to retrieve the value. (If it isn't set)

Returns

any

The value associated with the key
Personal tools
Navigation