Hi,
I having been having a problem where I have some entities in my game mode folder, such as: game modes/<game mode>/entities/entities/(Entity folder name)
And in the entity folder I am trying to get a GAMEMODE variable I have set in another Lua file under game modes/<game mode>/gamemode. It just basically can not find the variable.
I have included the Lua file from in the game mode folder inside the cl_init.lua and done AddCSLuaFile for the Luna file under the init.lua file. Do I have to include the Lua file inside the shared.lua or can I not do this.
Feel free to ask me any questions you need to.
Thanks
[editline]7th January 2013[/editline]
Just for extra information. The variable is defined as GM.<variable name> then is grabbed like GAMEMODE.<variable name>
You have to get a chicken pie and put it ontop of your computer, then you have to put a black dildo in it and it will work, trust me.
Nope, I have fixed it now anyway.
Sorry, you need to Log In to post a reply to this thread.