SA-MP Forums Archive
ShowInventory[+REP] - 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: ShowInventory[+REP] (/showthread.php?tid=557056)



ShowInventory[+REP] - arlindi - 12.01.2015

Hello everyone i have 1 problem with this code

pawn Код:
stock ShowInventory(playerid)
{
    new iteminv[40];
    for(new i = 0;i<40;i++)
    {
    iteminv[i] = InvInfo[playerid][iSlot][i];
    if(InvInfo[playerid][iSlot][i] == 0)
    {
    iteminv[i] = 1239;
    }

    }
    ShowModelSelectionMenuEx(playerid, iteminv,21, "Inventory",INVENTORY_MENU, 0.0, 0.0,0.0);
    return 1;
}
When i show the mselection he dont show mee just 1 page!
Help mee pleaae
I WILL REP YOU JUST HELP MEE


Re: ShowInventory[+REP] - Clad - 12.01.2015

In top of your script define second page


Re: ShowInventory[+REP] - arlindi - 12.01.2015

I didnt understand you clad with this but i will need help from you please i cant fix this i have 2 weeks adn i am not pro like you to fix it idk I am use A Inventory System with mSelection But he didnt show mee example 1/2 pages. IDK thsi please Clad bro hlep mee


Re: ShowInventory[+REP] - Clad - 12.01.2015

You can find define page. Search it and define the second page.


Re: ShowInventory[+REP] - arlindi - 12.01.2015

https://sampforum.blast.hk/showthread.php?tid=533177

Look this ling Clad bro i got it here But he isnt show mee 2 or 3 page
Please bro Clad you are my only chance


Re: ShowInventory[+REP] - Clad - 12.01.2015

pawn Код:
//INVENTORY TEXTDRAW

#include <a_samp>
#include <dini>
#include <zcmd>
#include <mSelection>
#define INVENTORY_MENU 1
#define INVENTORY_MENU 2



Re: ShowInventory[+REP] - arlindi - 12.01.2015

pawn Код:
C:\Users\Arlindi\Desktop\ServerS\fsdf - Copy - Copy\gamemodes\zma4.pwn(245) : warning 201: redefinition of constant/macro (symbol "INVENTORY_MENU")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
I got this error on Inventory_menu 2 Line
Please bro i need to mutch your help if you can give mee your skype and in it can help mee easly i worked but icant
You are my only chanse


Re: ShowInventory[+REP] - Clad - 12.01.2015

#define INVENTORY_MENU2 2


Re: ShowInventory[+REP] - arlindi - 12.01.2015

I added this its ok but not work

I thing he dont have aany funcction you must add and moething else.

If you will help mee you will meritethe Reps everyday


Re: ShowInventory[+REP] - Clad - 12.01.2015

I don't help you for reputation. I didn't understand you what is wrong