Command flags
#1

Having flags in command processors is great.
Before Pawn.CMD's release, I used to create admin commands using a special macro that checks for the admin level.
Pawn.CMD (And SmartCMD now) made it simpler by adding bit flags to any command.

But I was wondering, isn't it (more optimized)/faster to do the admin if-checks (for example), in admin commands only,
instead of checking the flags of every command that is processed?
Reply


Messages In This Thread
Command flags - by Stinged - 27.10.2016, 13:34
Re: Command flags - by Yashas - 27.10.2016, 14:30
Re: Command flags - by Stinged - 27.10.2016, 15:06

Forum Jump:


Users browsing this thread: 1 Guest(s)