06.11.2018, 11:17
Hi
Dialog Inventory system today make
Total inventory items 19
When the item is more than 1, it is displayed in the dialog
But there was a problem.
When you click on the item that you have in total 19 items, the strange item is clicked
example
new item[MAX_ITEM][MAX_PLAYERS];
for(new i=0; i<MAX_ITEM; i++)
{
if(item[i][playerid] > 0)
{
format(str,sizeof(str),"item%s",itemname
ShowDialog...
}
Ondialog function
I have item is slot 3(item[3][playerid])
then dialog show list one
one listitem click is diffrent item slot ...
How my item slot is dialog listitem same??
Please help me
Sorry my bad english..
Dialog Inventory system today make
Total inventory items 19
When the item is more than 1, it is displayed in the dialog
But there was a problem.
When you click on the item that you have in total 19 items, the strange item is clicked
example
new item[MAX_ITEM][MAX_PLAYERS];
for(new i=0; i<MAX_ITEM; i++)
{
if(item[i][playerid] > 0)
{
format(str,sizeof(str),"item%s",itemname
ShowDialog...
}
Ondialog function
I have item is slot 3(item[3][playerid])
then dialog show list one
one listitem click is diffrent item slot ...
How my item slot is dialog listitem same??
Please help me
Sorry my bad english..