Quote:
Originally Posted by MrOmega
I echoed this and it was NULL
PHP Code:
players[ testplayer( params[ 0], params[ 1])].account
then I did
PHP Code:
players[ testplayers( params[ 0], params[ 1])].account
and it echoed my account, along with my other account
( I had both logged on, close together, this is in a loop, I'm using findnearestplayers now btw)
|
Could it be that 'testplayers' didn't exist so it defaulted to 0 and the line returned the first player in the array?