Need Help with Adding level lock on weapons!

Recently I started to integrate a EXP/Leveling system into DarkRP.
If there is anyone who could help me set a level lock on using certain weapons or jobs i would really appreciate it!

EX: You must be level 10 to use Cop job.
EX: You must be level 5 to use MP5.

Wouldn’t this be as simple as not allowing them to say commands for vote.

EX: /votecop

As for weapons, just check their weapons every time they pick something up, if they’re not the required level, strip that weapon.

But where would i add this in at?

[editline]2nd November 2011[/editline]

I’m fairly new to Lua this is the first project that i have actually taken anywhere

You’ll get more help in the lua questions section.