• including files (cl) not including.
    1 replies, posted
for the love of all that is holy, i cannot include this one lua file, it is bringing great pain and constant suffering in my life. (everything in my addon works except for including this lua file) the only thing that works is if I put the file in the autorun folder. the file in question is supposed to be custom rank tags (which works when i do the thing in the above sentence ) also keep in mind every time I change something i restart the server. for people wandering. pictures of the file directory in order https://i.imgur.com/5FHov79.png https://i.imgur.com/VRzy26P.png the file i want to include is cl_awoltags.lua <------------------------- https://i.imgur.com/VyAddcX.png i want to include it into this file ^ https://i.imgur.com/mHJOkd2.png these are the first two lines of adminmenu_cl.lua https://i.imgur.com/ZfqbIsC.png This is the console error I get whenever I try to re-save it, after I restart the server of course (I re-save it because i know it is not working, and this shows up) (when it does include itself, i get no error, because it works.) p.s:sorry for image spam, i just wanted to make this clear with visuals. hope someone will be able to help me!
You must AddCSLuaFile() every clientside file
Sorry, you need to Log In to post a reply to this thread.