09.08.2012, 20:03
Show it like this:
when you show the dialog, use the formatted string "info" as your text.
then under OnDialogResponse, make a response for the dialogid shown, and add a line, showplayerdialog, that shows a dialog with your knife
pawn Код:
format(info,sizeof(info),"Bananas: %d",PlayerInfo[playerid][banana]);
then under OnDialogResponse, make a response for the dialogid shown, and add a line, showplayerdialog, that shows a dialog with your knife