DIALOG_STYLE_
#1

how to edit the script, an DIALOG_STYLE_TABLIST_HEADERS??

DIALOG_STYLE_TABLIST_HEADERS = DB and Name. Please.
SCRIPT:
Код:
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],"None"))
	    {
	        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,"Select","Cancel");
	else SendClientMessage( playerid, -1, "No Items" );
	return 1;
}
Reply
#2

What? I don't get the question?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)