Gamemode

So i can run my game mode on single player and when i come to runing
my gamemode on a server this comes up


 
[ᶫᵒᵛᵉᵧₒᵤ Reece|2|STEAM_0:0:152231679] Lua Error:
Couldn't include file 'rainbow\gamemode\cl_init.lua' (File not found) (<nowhere>)

[ᶫᵒᵛᵉᵧₒᵤ Reece|2|STEAM_0:0:152231679] Lua Error:
Couldn't Load Init Script: 'rainbow/gamemode/cl_init.lua'

[ᶫᵒᵛᵉᵧₒᵤ Reece|2|STEAM_0:0:152231679] Lua Error:

[ERROR] lua/includes/extensions/table.lua:50: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. Empty - lua/includes/extensions/table.lua:50
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:464
     4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      5. unknown - lua/includes/extensions/net.lua:32


[ᶫᵒᵛᵉᵧₒᵤ Reece|2|STEAM_0:0:152231679] Lua Error:

[ERROR] lua/includes/extensions/table.lua:50: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. Empty - lua/includes/extensions/table.lua:50
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:464
     4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      5. unknown - lua/includes/extensions/net.lua:32




Thanks :smiley:

This shoulds not happen.
Did you check that your init.lua/shared.lua use AddCSLuaFile(“cl_init.lua”) at the beginning?
(Instead of somethings else that include cl_init.lua and or things)

this is it satrting off

Then, check the clientside files for any “include” you could find.
I’m sure this is related to bad include somewhere.

i don’t know how this is bad

Are you sure the cl_init isn’t empty?

This can’t be this.
I can’t see any include that relate to:


Couldn't include file 'rainbow\gamemode\cl_init.lua' (File not found) (<nowhere>)

There must be somewhere, somethings that you did wrongs.
You should really check in deep. Be sure to search for every “cl_init.lua” terms.