G.rawget

From GMod Wiki

Revision as of 20:23, 11 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax rawget( Table one, Var key )
Where is this used?
Description:
Returns one[ key ] without invoking __index metamethods
Returns: object
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.rawget]G.rawget [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGrab the pitch from an angle
Used onNewerShared.png
Code
print( rawget( Angle( 90, 0, 0 ), "p" ) )
Output90


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox