Jump to content




[solved] attemp to index ? (a nil value)


  • You cannot reply to this topic
2 replies to this topic

#1 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 24 April 2015 - 08:34 PM

line ten of this errors with broken table

Edited by Lupus590, 28 September 2015 - 05:56 PM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 April 2015 - 09:06 PM

Shouldn't it just be crop.name and crop.metadata? And you may be better off using the name as the key of the table so you can directly index the desired metadata value for comparison.

#3 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 24 April 2015 - 09:58 PM

I had a feeling it was something simple, thanks lyqyd.

Edited by Lupus590, 24 April 2015 - 09:58 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users