Thread
:
Super Admin Update* 4.1
View Single Post
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
02-25-2012 , 04:01 Re: Super Admin Update* 2.1
#
14
Quote:
Originally Posted by
Emp`
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.
Done
Update*
__________________
www.amxmodx-es.com
Steam
:
Luchokoldo
rak
View Public Profile
Send a private message to rak
Visit rak's homepage!
Find More Posts by rak