05.11.2014, 22:13
Quote:
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.
|
Quote:
Originally Posted by sa-mp wiki
inputtext[] - The text entered into the input box by the player or the selected list item text.
|
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