22-07-2009, 09:40 PM
Mozza Wrote:if i was you i would remove PlayersOnMapHighIndex, put it this way.maczosoft is back lol.
Your index = 2. Your the only one on the map so PlayersOnMapHighIndex = 1, the loop will only draw index 1 so you will not draw. Well thats what from veiwing the code in mirage. If im wrong let me know
EDIT
ok i just seen the playeronmap bit so i guess im wrong about that, but Robin i did think highly of you until now.
If Player(i).Y = Y Then TUT TUT your checking the I not playersonmap so if your the only one on the map your checking the position of Index 1 not nessesary your Index. so if you are the only one on the map and your index is 2 If Player(i).Y = Y Then will return 0 every timeas the PlayersOnMapHighIndex will be 1 so the loop will only check for 1
Change
Code:Player(i).Y = Y
to
Code:Player(PlayersOnMap(I)).Y = Y