Quote:
Originally posted by Python523
Well, I'm assuming there is some 'list' of all the players online, getplayer pulls the players row (as in from a MySQL db) out of that list, which contains all his attribs.
|
Yes, but it can't just magically grab that element. It needs to search for it based on string comparisons.
Quote:
|
Using players[] probably does the same but level based instead of searching through all the accounts
|
There's no searching at all in such a case; the player[] structure is specified explicitly.