• Autorun my Lua script
    1 replies, posted
Hey guys, I have 2 clientside scripts and want to make them work on my server. On the first clientside script is this if gamemode then .. else include(clientside2.lua) In the 2nd script is just the same as in the first without the "if gamemode then". Now I want to run these scripts on my server and tried it with this in the lua/autorun: AddCSLuaFile("darkhud/cl_darkhud.lua") AddCSLuaFile("darkhud/cl_normalhud.lua") if CLIENT then   include("darkhud/cl_darkhud.lua") end But that didn't work. Do you have any idea why this doesn't work? Cheers
Found the fix... And I was stupid
Sorry, you need to Log In to post a reply to this thread.