Entity/GetNWFloat

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 17: Line 17:
 
{{Ret
 
{{Ret
 
|type=any
 
|type=any
|desc=The value associated with the Key
+
|desc=The value associated with the key
 
}}
 
}}

Latest revision as of 09:49, 12 April 2019

 Entity:GetNWFloat( )

Contents

Description

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

Arguments

string key

The key that is associated with the value

Arguments

any fallback=0

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