diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-02-28 09:41:23 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-02-28 09:41:23 -0500 |
| commit | 5fd5f2b3d1c77c3b85355c452ffc7e1fe2e12162 (patch) | |
| tree | ba03a7c2975e2c5c88732cc28be90365e6cd41aa /tutorials/tut021_detouring.md | |
| parent | a77ee4ce201de757ce4c5958d9e499a65b2cf416 (diff) | |
| download | artery-5fd5f2b3d1c77c3b85355c452ffc7e1fe2e12162.tar.gz artery-5fd5f2b3d1c77c3b85355c452ffc7e1fe2e12162.tar.bz2 artery-5fd5f2b3d1c77c3b85355c452ffc7e1fe2e12162.zip | |
Fixed some types, worked on 0x050
Fixed typos in a bunch of tutorials, did a little more work on 0x050 -
Entities
Diffstat (limited to 'tutorials/tut021_detouring.md')
| -rw-r--r-- | tutorials/tut021_detouring.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tutorials/tut021_detouring.md b/tutorials/tut021_detouring.md index 7e4c980..a03a31d 100644 --- a/tutorials/tut021_detouring.md +++ b/tutorials/tut021_detouring.md @@ -14,7 +14,7 @@ garrysmod/lua/autorun/detourprint.lua The above script __replaces__ the print function, with a new function, which eventually calls the original print function, with modified arguments. The above can be done with modules in Artery as well. For example, `log.lua`'s .error() function currently only prints a message in red, it dosn't actually show what failed or why. Let's modify it to show a stack trace. -garrysmod/addons/artery_rougelite/trace_errors.lua +garrysmod/addons/artery\_rougelite/trace\_errors.lua local log = nrequire("log.lua") local colors = nrequire("config/colortheme.lua") --Holds colors @@ -27,3 +27,5 @@ garrysmod/addons/artery_rougelite/trace_errors.lua For more information on colortheme.lua see @{colortheme.lua}, for more on debug.traceback() see [the gmod wiki](http://wiki.garrysmod.com/page/debug/traceback). + +Next tutorial: @{tut030_inventories.md} |
