Foreach bug?
#1

i have this code
Код:
    foreach(House, h) {
        foreach(Player, playerid) {
            if(IsPlayerInRangeOfPoint(playerid, 3.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ])) {
// displaying text here
But when 2 players are standing in the position it's not showing the text for 2nd player but its showing for 1st player, anyone?
Reply


Messages In This Thread
Foreach bug? - by armyoftwo - 29.10.2010, 20:21
Re: Foreach bug? - by Mauzen - 29.10.2010, 20:36
Re: Foreach bug? - by armyoftwo - 29.10.2010, 20:45
Re: Foreach bug? - by armyoftwo - 30.10.2010, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)