I run a TTT gmod server and today when I got on, some how ULX broke and all the fun commands are uncategorized thus leaving us unable to punish RDMers and etc.
I found the error.
[ERROR] addons/ulx/lua/ulx/modules/sh/fun.lua:1: unexpected symbol near '<'
1. unknown - addons/ulx/lua/ulx/modules/sh/fun.lua:0
What does that mean?
And here is a picture.
Mind you I never changed any of the ULX lua files directly, only through the menu by using !menu
EDIT:
<<<<<<< .mine
local CATEGORY_NAME = "Fun"
------------------------------ Slap ------------------------------
function ulx.slap( calling_ply, target_plys, dmg )
local affected_plys = {}
for i=1, #target_plys do
local v = target_plys[ i ]
if v:IsFrozen() then
ULib.tsayError( calling_ply, v:Nick() .. " is frozen!", true )
else
ULib.slap( v, dmg )
table.insert( affected_plys, v )
end
end
ulx.fancyLogAdmin( calling_ply, "#A slapped #T with #i damage", affected_plys, dmg )
end
I assume that's the general area of line 0.