I have a shared.lua, and in my cl_.lua I include it at line 1.
Why can’t I use local variables defined in shared.lua, in the client file?
include( "autorun/sh_test.lua" ) -- if I type here, local variable = 1, then it works local function test() end
local variable = 1
variable is nil in the test function.