You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
googer_ edited this page Nov 13, 2024
·
1 revision
About Ext_Print
By default Garry's Mod doesn't have a nice way to print stuff from addons and little to no one bothers to add proper logging with identifying the addon. Thorium solves that problem by creating new print functions.
This extension in general adds functions that print out data nicer.
Capability ext_print
Info
ID: ext_print
Functions
printf(text: string, ...: any)
Similar to print, with the exception of that it automatically formats first string with arguments
Log(text: string, ...: any)
Same as printf, but appends addon name at the start
Debug(text: string, ...: any)
Same as printf, but appends a bunch of info about caller at the start
PrintTable(tbl: table, indent: integer, done: table)
Prints table