This is the last place I want to be asking again, but after searching the internet and editing my file for the last 2 hours I hope you can help.
I have just finished a game mode in which I was about to put public when I decided to change a spelling mistake in my text. I did a backup then uploaded the updated file. I then get this error:
Couldn't include file 'shared.lua' (File not found) (@gamemodes/capturetheflag/gamemode/cl_init.lua (line 1))
I have not had this error before. So I did the usual and uploaded the backup I made. I restarted the server and the same error occurred.
Does anyone know how to fix this? I do not care if it is extremely hacky or messy. It is just annoying me to hell!
Thank’s in advanced.
All my files are in gamemode/ directory. These are init.lua, cl_init.lua and shared.lua.
This is the top of each of the files:
[lua]include( ‘shared.lua’ )[/lua]
[lua]AddCSLuaFile( “cl_init.lua” )
AddCSLuaFile( “shared.lua” )
include( “shared.lua” )[/lua]
GM.Name = “Capture The Flag”
GM.Author = “Streetlight”
GM.Email = “n/a”
GM.Website = “n/a”
DeriveGamemode( “base” )
team.SetUp( 1, “Rebel”, Color(75, 50, 50, 100))
team.SetUp( 2, “Combine”, Color(50, 50, 75, 100))
team.SetUp( 3, “Spectator”, Color(200, 200, 200))
Thank’s again, and sorry to bother you.