Hi people! how to edit script dialog_style_tablist_headers formatum?
THANK YOU!! :)
format( msg, 128,"DB\t\tName");
DB AND NAME WERE
code:
THANK YOU!! :)
format( msg, 128,"DB\t\tName");
DB AND NAME WERE
code:
Code:
stock ShowItems(playerid)
{
new msg[128],dialogstr[3000],bool:c;
format( msg, 128,"DB\t\tName");
strcat(dialogstr,msg);
for(new i; i<MAX_ITEMS; i++)
{
if(!CompareEx(ItemName[playerid][i],"Empty"))
{
c = true;
format(msg,128,"\n%d\t\t%s",ItemAmount[playerid][i],ItemName[playerid][i]);
strcat(dialogstr,msg);
}
}
if(c != false) ShowPlayerDialog(playerid,ITEM_DIALOG,DIALOG_STYLE_LIST,"Inventory",dialogstr,"OK","No");
else SendClientMessage( playerid, -1, "Empty slot" );
return 1;
}