Inventory Drop
#8

Не слушай его.

Вот так, за пределами цикла:
pawn Код:
for(new i; i < sizeof(ObjectInv); i++)
        {      
            if(IsPlayerInRangeOfPoint(playerid, 2.0,ObjectInv[i][obiDropPos][0],ObjectInv[i][obiDropPos][1],ObjectInv[i][obiDropPos][2]))
            {        
                GiveInv(playerid, ObjectInv[i][obiDrop][0], ObjectInv[i][obiDrop][1]);
                DestroyObject(ObjectInv[i][obiObject]);
                ObjectInv[i][obiDrop][0] = 0;
                ObjectInv[i][obiDrop][1] = 0;
                ObjectInv[i][obiDropPos][0] = 0.0;
                ObjectInv[i][obiDropPos][1] = 0.0;
                ObjectInv[i][obiDropPos][2] = 0.0;
            }
        }
        return 1;
Reply


Messages In This Thread
Inventory Drop - by DeViLsS - 23.01.2015, 08:31
Re: Inventory Drop - by Stepashka - 23.01.2015, 08:53
Re: Inventory Drop - by DeViLsS - 23.01.2015, 08:58
Re: Inventory Drop - by x_O - 23.01.2015, 09:01
Re: Inventory Drop - by DeViLsS - 23.01.2015, 09:02
Re: Inventory Drop - by x_O - 23.01.2015, 09:04
Re: Inventory Drop - by DeViLsS - 23.01.2015, 09:05
Re: Inventory Drop - by Stepashka - 23.01.2015, 10:40
Re: Inventory Drop - by DeViLsS - 23.01.2015, 10:53
Re: Inventory Drop - by x_O - 24.01.2015, 02:20

Forum Jump:


Users browsing this thread: 1 Guest(s)