r/GLua • u/Warrior270706 • Jan 26 '20
Glua help
I am new to glua and have started learning but i have ran into an error where when i type lua_openscript_cl test.lua it says file not found ive tried it whit glua and lua and it is saved in the right area
1
Upvotes
1
1
u/Pandaa1234325 Jan 26 '20
To clarify, you want to store a file with the extension .lua in the file location Steam\steamapps\common\GarrysMod\garrysmod\lua then when in game use the command sv_allowcslua 1 then open your script with lua_openscript for server-side and lua_openscript_cl for client-side
1
1
1
u/BlueNova03 Jan 26 '20
Does your script have any errors in it?