View Single Post
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 02-24-2012 , 19:52   Re: Super Admin Update* 2.1
Reply With Quote #13

Please at least use the proper defines with cmd_target, so I know you have an idea of what you are doing, and I will not trash this.

You should be using a Trie instead of an Array to hold "Super Admin" steam ids.

You don't need to check if the SuperAdmin file exists if you are also going to check the file handle.

You should use trim instead of replace.

You don't need to read the file in precache.

Please use charsmax for string lengths.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`