[ERROR HELP] [RunString:171] attempt to index field '?' (a nil value)

So I keep getting this same error, I have no idea on what to do.

I get this error: [RunString:171] attempt to index field ‘?’ (a nil value)

Link: http://pastebin.com/PaagdQWg

CustomerChoice:GetSelectedItems() returns nil, so you probably didn’t select anything before pressing the button. More info here: **[DComboBox.GetSelectedItems

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=DComboBox.GetSelectedItems)**

Fixed it!

Just selected the first person on the server for first 2.

However why does Combo Box say my prices are strings?

When I selected it I had to put the number in quotes “50”

[editline]19th November 2011[/editline]

Here it is btw.

Your prices are strings, at least in the ComboBox. Use **[G.tonumber

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.tonumber)** to convert them back to numbers.