Need help with my System Please Help
#1

Code that i gave at began it already worked fine man
Reply
#2

try this...

PHP код:
stock ShowInventoryBag(playerid)
{
    new 
fingbag 0;
    new 
things[1024];
    
//new bags[1024];
    
gItemList="";
      for(new 
0sizeof(BgsCreate); i++)
    {
        if(
IsPlayerInRangeOfPoint(playerid1.0BgsCreate[i][pX], BgsCreate[i][pY], BgsCreate[i][pZ]))
          {
            for(new 
item;item<MAX_ITEMS;item++)
            {
                if(
fingbag == 0)
                {
                    
fingbag 1;
                    if(!
strlen(_GetItemNamePVar(i,item))||!_GetItemAmountPVar(i,item))continue;
                    
format(gItemList,sizeof(gItemList),"%s\n%d\t\t%s",gItemList,_GetItemAmountPVar(i,item),_GetItemNamePVar(i,item));
                }
            }
        }
    }
    
format(gItemList,sizeof(gItemList),"Amount\t\tItem%s",gItemList);
    
format(things,sizeof(things),"{00FF80}Money Backpack");
    
//format(things,sizeof(things),"{00FF00}КСБАТГР [¤ЗТБЁШ %d/%d]",PlayerInfo[playerid][pBagu],PlayerInfo[playerid][pBagt]);
    
ShowPlayerDialog(playerid,INV_DIALOG_ID,DIALOG_STYLE_LIST,things,gItemList,"гЄй","ВЎаЕФЎ");
    
SetPVarInt(playerid,"PUSINGDIALOG",1);

Reply
#3

This my false

Now i can do
Reply
#4

Fixed this bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)