Question about dialogs
#2

You could utilize player variables to track what you're editing on a dialog.

https://sampwiki.blast.hk/wiki/SetPVarInt

So if you were to choose rank 1, when you select that on the dialog you'd want to:

Код:
SetPVarInt(playerid, "RankDialogIndex", listitem);
And then when you change name you can retrieve that variable from another dialog with:

Код:
GetPVarInt(playerid, "RankDialogIndex");
Reply


Messages In This Thread
Question about dialogs - by Oficer - 21.12.2018, 14:01
Re: Question about dialogs - by Chyakka - 21.12.2018, 14:28

Forum Jump:


Users browsing this thread: 2 Guest(s)