Garry's Mod Wiki

Revision Difference

table.ForceInsert#551724

<function name="ForceInsert" parent="table" type="libraryfunc"> <description>Inserts a value in to the given table even if the table is non-existent</description> <realm>Shared and Menu</realm> <file line="374-L382">lua/includes/extensions/table.lua</file> <file line="391-L399">lua/includes/extensions/table.lua</file> <args> <arg name="tab" type="table" default="{}">Table to insert value in to</arg> <arg name="value" type="any">Value to insert</arg> </args> <rets> <ret name="" type="table">The supplied or created table</ret> </rets> </function>