I am working on a gamemode, it follows all the specifics denoted by the tutorials on the wiki, but when i run it on my dedicated server, the cl_init.lua file is never called (Or maybe it is sent incorrectly?), however, on a listen server the file is run fine.
CL_Init.lua
[code]
include( 'shared.lua' )
function GM:Initialize()
print("Works (at all/ general!)")
end
Init.lua
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
[/code]
Init.lua
[code]
include( "shared.lua" )
function GM:PlayerLoadout( ply )
//ply:CheckPlayerClassOnSpawn()
ply:OnLoadout()
endShared.lua
GM.Name = "GMODENAME"
GM.Author = ""
GM.Email = ""
GM.Website = ""
GM.Help = ""
GM.Data = {}
[/code]
Shared.lua
[code]
DeriveGamemode( "fretta" )
(...A lot of fretta-specific shit...)
[/code]
[editline]07:57PM[/editline]
Nevermind... it was fastdl's fault xD
Sorry, you need to Log In to post a reply to this thread.