EDIT - SOLVED using the initialize hook ( Thanks Handsome Matt )
[quote][ERROR] addons/utilities/lua/autorun/client/cl_targetid.lua:6: attempt to index global 'LANG' (a nil value)
1. unknown - addons/utilities/lua/autorun/client/cl_targetid.lua:6
[/quote]
[lua]
local util = util
local surface = surface
local draw = draw
local GetPTranslation = LANG.GetParamTranslation -- line 6
local GetRaw = LANG.GetRawTranslation[/lua]
This is an exact copy of cl_targetid.lua I've added a few lines of code to add additional equipment like the disguiser (un-targettable)
If I save the script again the error is fixed. I believe this is a loading issue. Any help?
NOTE: The script itself is completely fine.
Sorry, you need to Log In to post a reply to this thread.