02-25-2011, 10:15 PM
(02-24-2011, 10:54 PM)FakeTruth Wrote: In r174 you can now also specify the permissions of a command, so you don't have to manually check it.
Code:self:BindCommand("/god", HandleGodCommand) -- This still works, but you have to manually check permissions
self:BindCommand( "/god", "myplugin.god", HandleGodCommand) -- New version where permissions are checked for you
I love it when i get to type less.
:P