Inventory system (MySQL based)
#3

Quote:
Originally Posted by Deduction
View Post
Would this work?
pawn Code:
AddPlayerItem(playerid, listitem+1);
Under
pawn Code:
case DIALOG_ITEMS:
        {
            if(!response)return false;
            else
            {
                AddPlayerItem(playerid, listitem+1); //here
            }
        }
It won't it's gonna mess the whole thing, when you gonna try to pick up objects in different order than sequence (I mean like, line by line). Maybe there's a way to avoid counting from 1 UID? I need help, damn.
Reply


Messages In This Thread
Inventory system (MySQL based) - by Riddick94 - 17.12.2013, 13:02
Re: Inventory system (MySQL based) - by Deduction - 17.12.2013, 13:31
Re: Inventory system (MySQL based) - by Riddick94 - 17.12.2013, 13:55
Re: Inventory system (MySQL based) - by Jefff - 17.12.2013, 13:58
Re: Inventory system (MySQL based) - by Riddick94 - 17.12.2013, 14:21
Re: Inventory system (MySQL based) - by Deduction - 17.12.2013, 14:53
Re: Inventory system (MySQL based) - by Riddick94 - 17.12.2013, 14:59

Forum Jump:


Users browsing this thread: 2 Guest(s)