Dialog list - how do find the next value?
#10

Quote:
Originally Posted by Kebab-
Посмотреть сообщение
I'm talking about a list of all the Car's, not an input method. It's a small number of vehicles that will be displayed that meet certain requirements. I want it to be user friendly. I'll be using DIALOG_STYLE_LIST.
Well than you didn't understood me, with (inputtext contains the selected line), let me quote the wiki
Quote:
Originally Posted by sa-mp wiki
inputtext[] - The text entered into the input box by the player or the selected list item text.
Means if you select from your list the third item (listitem = 2)

Car 1 - lisitem = 0
Car 2 - listitem = 1
Car 4 - listitem = 2

than inputtext would contain "Car 4", you could use that text to extract the number with sscanf
Reply


Messages In This Thread
Dialog list - how do find the next value? - by Kebab- - 05.11.2014, 17:24
Re: Dialog list - how do find the next value? - by dominik523 - 05.11.2014, 17:36
Re: Dialog list - how do find the next value? - by Kebab- - 05.11.2014, 17:43
Re: Dialog list - how do find the next value? - by ItzRbj - 05.11.2014, 19:57
Re: Dialog list - how do find the next value? - by Kebab- - 05.11.2014, 21:28
Re: Dialog list - how do find the next value? - by SKAzini - 05.11.2014, 21:33
Re: Dialog list - how do find the next value? - by Kebab- - 05.11.2014, 21:43
AW: Dialog list - how do find the next value? - by Nero_3D - 05.11.2014, 21:43
Re: AW: Dialog list - how do find the next value? - by Kebab- - 05.11.2014, 21:47
AW: Re: AW: Dialog list - how do find the next value? - by Nero_3D - 05.11.2014, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)