16-02-2007, 09:48 AM
Well, it should be like this:
Im pretty sure that would work to the easiest part, but there are several things like this around. And I dont like this way, the MAX_ values aint that high anyway.
Code:
For i = 1 to MAX_PLAYERS
If Trim(Player(i).Name) = vbNullString then
' Next i kinda thing
Else
HIGH_PLAYER_INDEX = i
End if
Next i