function ulx.role( calling_ply, target_plys )
for k,v in pairs( target_plys ) do
ulx.fancyLogAdmin( "#T is a(n) " .. v:GetUserGroup() .. ".", target_plys )
end
end
local role = ulx.command( CATEGORY_NAME, "ulx role", ulx.role, "!role" )
role:addParam( type=ULib.cmds.PlayersArg )
role:defaultAccess( ULib.ACCESS_SUPERADMIN )
role:help( "Show the role of a player." )
The command isn't showing up in my ULX menu and i get the error
[ERROR] addons/ulx-v3_71/lua/ulx/modules/sh/role.lua:25: ')' expected near '='
1. unknown - addons/ulx-v3_71/lua/ulx/modules/sh/role.lua:0