[lua]
function ENT:AcceptInput( name, activator, caller )
if ( name == "Use" && ValidEntity( activator ) && activator:IsUserGroup("respected")) then
umsg.Start( "Weapon", activator )
umsg.End( )
end
end
[/lua]
I'm not sure how to make the menu activate when A player is of a certain rank. Also is there a way to make it that if a Player isn't [I]Respected[/I] it opens a different menu??