Need help making tool restrictions for darkrp classes

So what i need help with is making a team on darkrp (Wiretech) being allowed to use wire but all other classes/teams not being able to. I already know how to make a class since that is simple:

TEAM_WireTech = AddExtraTeam(“Wire Technitian”, {
color = Color(5, 0, 235, 255),
model = “models/player/kleiner.mdl”,
description = [[Your are a wiremod pro, you build cool shit and sell wiremod contraptions to other people.]],
weapons = {},
command = “WireTech”,
max = 3,
salary = 55,
admin = 0,
vote = false,
hasLicense = false
})

But to make wiretech the only team to be able to use wiremod, is there a certain addon like fpp or anything else that will let me set too restrictions or did gmod 13 break it.
Any help would be GREATLY appreciated.

P.S this is my first thread.

Put this in lua/autorun:


hook.Add( "CanTool", "wiremod_check", function( ply, tr, tool )
	if( team.GetName( ply:Team() ) != "Wire Technitian" ) then
		if( string.find( tool, "wire" ) ) then
			return false
		end
	end
end )

It worked!!! Thank you soo much mrchris75!!!