G.rawget
From GMod Wiki
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: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.rawget]G.rawget [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Grab the pitch from an angle |
---|---|
Used on | |
Code | print( rawget( Angle( 90, 0, 0 ), "p" ) ) |
Output | 90 |