23.01.2013, 05:31
pawn Код:
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "ok", iString, "Close", "");
the number i set as "5" is the Dialog ID - It tells the server what dialogbox you are using.
So when you are on "OnDialogResponse" you can set the dialog id to 5 and select what to happen when you click the button and add things.
Read and learn here!
https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog