TTT-2 / ttt2-role_hit

This is the "Hitman" role for TTT2
2 stars 5 forks source link

Console error #2

Closed Shaknunic closed 5 years ago

Shaknunic commented 5 years ago

This happened from nowhere, probably when the target is killed or commit suicide.

[ERROR] ttt2/lua/autorun/client/ttttargetclienthit.lua:187: attempt to index field 'HITMAN' (a nil value)

  1. fn - addons/[ttt]_ttt2/lua/autorun/client/ttttargetclienthit.lua:187
    1. unknown - addons/ulx+ulib-beta+ttt2/lua/ulib/shared/hook.lua:109
Alf21 commented 5 years ago

You are using an old version. Check this erroring line on GitHub, it‘s an empty one. So it can‘t be caused on the newest version.