SA-MP Forums Archive
Need help with my System Please Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with my System Please Help (/showthread.php?tid=427867)



Need help with my System Please Help - SequenceCuz - 03.04.2013

Code that i gave at began it already worked fine man


Re: Need help with my System Please Help - brawrr - 03.04.2013

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);




Re: Need help with my System Please Help - SequenceCuz - 03.04.2013

This my false

Now i can do


Re: Need help with my System Please Help - SequenceCuz - 03.04.2013

Fixed this bro