function ulx.equipment( calling_ply, target_plys, equipment )
Was originally in upper case, i had to remove the upper case. However i got the same error.
I then had to change:
local equipment = ulx.command( CATEGORY_NAME, "ulx give equipment", ulx.equipment )
specifically "ulx give equipment" into lower case otherwise i got the same error. Sorry for being unspecific, when i read back on it it was quite vague.