Getclosest issue
#3

Right, so you want to weed out anyone that IS in your team;
Код:
if(pInfo[i][Team] == pInfo[playerid][Team]) continue;
Sidenote: check out GetPlayerDistanceFromPoint or the example on VectorSize for a more efficient distance calculation method.
Reply


Messages In This Thread
Getclosest issue - by TwinkiDaBoss - 01.08.2015, 14:27
AW: Getclosest issue - by Macronix - 01.08.2015, 14:45
Re: Getclosest issue - by Vince - 01.08.2015, 14:46
Re: Getclosest issue - by TwinkiDaBoss - 01.08.2015, 15:15
Re: Getclosest issue - by xVIP3Rx - 01.08.2015, 15:31
Re: Getclosest issue - by TwinkiDaBoss - 01.08.2015, 15:36
Re: Getclosest issue - by xVIP3Rx - 01.08.2015, 15:40
Re: Getclosest issue - by TwinkiDaBoss - 01.08.2015, 15:55
Re: Getclosest issue - by xVIP3Rx - 01.08.2015, 15:57
Re: Getclosest issue - by TwinkiDaBoss - 01.08.2015, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)