RegisterCommand("commandName", function(source, args, rawCommand) -- normal function handling here end, true) -- set this to false to allow anyone.