1. Post #1

    September 2011
    77 Posts
    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

  2. Post #2
    MoronYard
    _nonSENSE's Avatar
    May 2010
    1,265 Posts
    CustomerChoice:GetSelectedItems() returns nil, so you probably didn't select anything before pressing the button. More info here: DComboBox.GetSelectedItems

  3. Post #3

    September 2011
    77 Posts
    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"

    Edited:



    Here it is btw.

  4. Post #4
    MoronYard
    _nonSENSE's Avatar
    May 2010
    1,265 Posts
    Your prices are strings, at least in the ComboBox. Use G.tonumber to convert them back to numbers.
    Reply With Quote Edit / Delete Reply Windows 7 Germany Show Events Lua Helper Lua Helper x 1 (list)