Yep, there is an array of player info equal in length to the "numplayers" value of the server, with 6 values reported for every player:
player - Player name
team
score
deaths
ping
playerid
In the query protocol, those keys are named like so:
Key_Number
With 'Key' representing one of the 6 keys listed above, and 'Number' representing a value between 0 and 'numplayers', for example: team_0, player_5, score_8 etc.
So, to get the values for the first player, you just append _0 to each of the six key values above, and search for those.
Last edited by Shambler : 19th August, 2008 at 11:29 AM.
|