View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-07-2014 , 13:52   Re: if equal steamid
Reply With Quote #10

If the admin's SteamID is in the list, they will be shown two menus (the SteamID specific one and then the User one overwrites it).

Also, to improve efficiency, I would consider using a Trie for the SteamIDs. You will no longer need to use a loop to determine if they are in the list, it would change your loop to an if statement. This would make it easier solve the problem above because you could simply to else ifs for everything else.
__________________

Last edited by fysiks; 06-07-2014 at 13:54.
fysiks is offline