Lua error when the server changelevel or lua refresh
5 replies, posted
Hello,
Can you help me ?
When i changelevel all the gamemode reload with lua error
Thanks you.
What's the error?
fixed with "map" command
What the difference between changelevel and map command ?
thx
Map kicks everyone from the server before changing. It shouldn't affect Lua code; could you post what the error is?
I don't have the error with me now but it's related with refreshing table like this
LangTable = LangTable or {}
Edit :
[lua]
playermodel.lua:19: attempt to index field 'ModelItems' (a nil value)
[/lua]
We can't help you with 1 line of code that's completely unrelated to the error provided.
Post your playermodel.lua file
Sorry, you need to Log In to post a reply to this thread.