Nearest Hospital Spawn Upon Death
#4

Maybe changing this little bit will work:

pawn Код:
else if(closestspawn != -1 && closestspawn != i)
{
    if(spawndist[i] > spawndist[closestspawn]) continue;
    else if(spawndist[i] < spawndist[closestspawn])
    {
        closestspawn = i;
        continue;
    }
}
Reply


Messages In This Thread
Nearest Hospital Spawn Upon Death - by marley - 17.07.2016, 00:18
Re: Nearest Hospital Spawn Upon Death - by DTV - 17.07.2016, 01:11
Re: Nearest Hospital Spawn Upon Death - by marley - 17.07.2016, 02:29
Re: Nearest Hospital Spawn Upon Death - by DTV - 17.07.2016, 03:08
Re: Nearest Hospital Spawn Upon Death - by [cS]Owain - 17.07.2016, 05:17
Re: Nearest Hospital Spawn Upon Death - by oMa37 - 17.07.2016, 05:34
Re: Nearest Hospital Spawn Upon Death - by marley - 17.07.2016, 17:43

Forum Jump:


Users browsing this thread: 3 Guest(s)