Discord
Steam
/
Garry's Mod
/
Developers
/
File include i..
Login/Join
Event Log
File include issue
3 replies, posted
Search
In This Thread
Filepath: [code]garrysmod\gamemodes\name\gamemode\vgui\main_menu.lua[/code] Init.lua location: [code] garrysmod\gamemodes\name\gamemode\init.lua [/code] Init.lua code: [code] AddCSLuaFile( "vgui/menu_main.lua" ) -- line 7 [/code] cl_init.lua code: [code] include( "vgui/menu_main.lua" ) -- line 4 [/code] Error: [code] [AddCSLuaFile] Couldn't find 'vgui/menu_main.lua' <@/gamemodes/name/gamemode/init.lua <line 7>> [/code] Reaction: [code] =((( [/code] So confused.
Is the file empty? ( vgui/main_menu.lua )
It is empty and intended to be a panel file. Wanted to make sure it was added properly before coding but that makes sense. It is working now, thanks!
Make it not empty.
Sorry, you need to
Log In
to post a reply to this thread.