ShowPlayerDialog.
#1

Hi, I have a problem. Namely:

I made myself:

new s[2048];
format(s, sizeof(s), "%s [UID:%d] (%s:%s) (%d:%d)\n", s, ID,ItemS[ModelID][Name], aweapons, Ilosc, Sp);
ShowPlayerDialog (playerid, 2202, DIALOG_STYLE_LIST, "UID Name and Special Shares" s, "Select", "Close");

Variable: are responsible for displaying the relevant parts in the "Menu". (format). Depending on if I have the database objects - shows me the list. eg I have 2 weapons, 2 weapons show me, I have 3 weapons shows me 3 weapons. Each item has its own unique number. And now I want to do, so that when I click on the option to select the function, intercepted a unique number and ModelID this item in the menu .. And now, if the item modelid example is 2 then something dzieje.np. if (example2 == modelid) (/ / some code here return 1
Reply


Messages In This Thread
ShowPlayerDialog. - by Logitech334 - 15.10.2009, 21:40
Re: ShowPlayerDialog. - by Logitech334 - 15.10.2009, 22:21
Re: ShowPlayerDialog. - by Balon - 16.10.2009, 05:16
Re: ShowPlayerDialog. - by Logitech334 - 16.10.2009, 11:57
Re: ShowPlayerDialog. - by Balon - 16.10.2009, 12:09
Re: ShowPlayerDialog. - by Logitech334 - 16.10.2009, 12:11
Re: ShowPlayerDialog. - by bestr32 - 30.08.2011, 10:42

Forum Jump:


Users browsing this thread: 1 Guest(s)