07.01.2015, 17:47
pawn Код:
stock ShowInventory(playerid)
{
new iteminv[21];
for(new i = 0; i < 21;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;
}