Something wrong with this array?
#3

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
That array isn't indexed by player ID's..

Where you have [playerid] you need to have a number. That number begins from 0 and corresponds with each set of float values in the array. So, BusStop[0][0] is 1832.73242, and BusStop[0][2] is 12.36594.
So how can IsPlayerInRangeOfPoint check for all the positions? I'm newbie with arrays
Reply


Messages In This Thread
Something wrong with this array? - by Onfroi - 22.06.2013, 16:29
Re: Something wrong with this array? - by Scenario - 22.06.2013, 16:32
Re: Something wrong with this array? - by Onfroi - 22.06.2013, 19:23
Re: Something wrong with this array? - by Vince - 22.06.2013, 19:26
Re: Something wrong with this array? - by Scenario - 22.06.2013, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)