View Single Post
QuantumToast
Member
Join Date: May 2017
Location: US
Old 06-27-2017 , 13:10   Re: Infractions - The Early Stages
Reply With Quote #44

Well, I haven't had much time to work on the plugin, but I have a small optimization-related question:
Would it be more efficient to have a single command hook callback for commands like sm_kick, sm_ban, sm_mute, etc.? And then just check for which command was used within the callback? Currently I have a single callback for each command hook, and I was thinking that since you can hook multiple commands to the same callback, would it be more efficient, or just complicate things?
__________________
QuantumToast is offline