

#Utime crash gmod mod
Garry's Mod Workshop Content or Garry's Mod is downloading 0 / 0 Bytes.I see purple and black checkers and/or error models!.My game says it's "Still Running", and I can't load the game/other games!\.My game is crashing with/without error message!.This error can also be a AddCSLuaFile error.Current list of problems/fixes in this thread: "=" instead of "=")Ĭouldn't include file 'file' - File not found ()ĭescription: The file system tried to include a file that either doesn't exist or was added while the server was live. Not closing all brackets, parentheses or functions before the end of the file.When 'symbol2' is, Lua expected a symbol before the end of the file
#Utime crash gmod code
Close brackets and parentheses correctly (See: Code Indentation)ĭescription: Lua expected symbol1 instead of symbol2.Make sure there are no mistypes in the code.Not closing brackets and parentheses at the correct locations.Forgot to write "then" after an if statement)
#Utime crash gmod how to
) operator and the number.ĭescription: You typed a symbol in the code that Lua didn't know how to interpret. Multiply variables with numbers by using the ***** operator.Trying to concatenate a number to a string without a space between the number and the operator.Incorrect writing of multiplication of a number and a variable.An IP address was written as a number instead of a string.If the variable is local, define it before accessing itĭescription: There is a malformed number in the code (e.g.Make sure the variable is only accessed in the realm it was defined in.You've misspelled the name of the variable.The variable is local and defined later in the code.The variable is defined in a different realm.

print( variable.index ) where variable is undefined)

2 + "some string") Attempt to index global 'varname' (a nil value)ĭescription: You tried to index an undefined variable (e.g.

If it's menu code, it will be green (not a typical scenario). If it happened clientside, it will be yellow. If the error happens serverside, the text color will be blue. Simplified - If the error is inside a function/chunk of code that is called from somewhere else, it will state where the code is called from. Lastly, the error itself - attempt to call global 'Print' (a nil value)īelow the error, we have the trace of the function. The first line includes the path to the file that is causing the error - addons/my_addon/lua/autorun/server/sv_my_addon_aĪfterwards, the line that's producing the error - sv_my_addon_a:2 (Line 2) That is because Print is not an existing function ( print, however, does exist). unknown - addons/my_addon/lua/autorun/server/sv_my_addon_a:2 lua:2: attempt to call global 'Print' (a nil value)ġ. Addons/my_addon/lua/autorun/server/sv_my_addon_autorun.
