• Client side scripts not loading
    2 replies, posted
This is my init.lua file in mygamemode/gamemode [CODE] AddCSLuaFile("gamemode1/cl_test.lua") AddCSLuaFile("gamemode1/sh_hello.lua") include("gamemode1/sh_hello.lua") include("gamemode1/sv_hello.lua") [/CODE] then in my cl_test.lua is [CODE] print("I loaded") [/CODE] It never shows, everything in sh_hello and sv_hello work, but cl_test refuses and yes, I am checking the client console.
cl_init.lua is what loads first, then you'll have to include sh_hello.lua from that.
[QUOTE=isnipeu;44717222]cl_init.lua is what loads first, then you'll have to include sh_hello.lua from that.[/QUOTE] Fixed, thanks!
Sorry, you need to Log In to post a reply to this thread.