G.rawset

From GMod Wiki

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



Examples

DescriptionSet the pitch for an angle
Used onNewerShared.png
Code
rawset( Angle( 90, 0, 0 ), "p", 45 )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox