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

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
extract the number from the inputtext with sscanf (inputtext contains the selected line)
pawn Код:
// OnPlayerDialogResponse

    new carid;
    // if your text is "Car <carid>" than we just need to extract at the 4 character the id
    if(sscanf(inputtext[4], "i", carid)) {
         return print("This should never be printed!");
    }
    // your code
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.
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)