Thread: need help
View Single Post
  #16  
Old 08-30-2003, 06:16 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: need help

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.
__________________
Reply With Quote