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.