Entity/GetNWFloat

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Undo revision 29453 by Code gs (talk))
Line 16: Line 16:
 
}}
 
}}
 
{{Ret
 
{{Ret
|type=number
+
|type=any
|desc=The retrieved value
+
|desc=The value associated with the Key
 
}}
 
}}

Revision as of 09:48, 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