Garry's Mod Wiki

Revision Difference

Global.Format#518401

<function name="Format" parent="Global" type="libraryfunc"> <description>Formats the specified values into the string given. Same as <page>string.format</page>.</description> <realm>Shared and Menu</realm> <args> <arg name="format" type="string">The string to be formatted.&amp;amp;lt;br&amp;amp;gt;&#xA;Follows this format: http://www.cplusplus.com/reference/cstdio/printf/</arg>⤶ <arg name="format" type="string">The string to be formatted.&amp;lt;br&amp;gt;Follows this format: http://www.cplusplus.com/reference/cstdio/printf/</arg>⤶ <arg name="formatParameters" type="vararg">Values to be formatted into the string.</arg> </args> <rets> <ret name="" type="string">The formatted string</ret> </rets> </function>