Jump to content




Help me please



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

#1 Nexus_Nimorodino

  • New Members
  • 1 posts

Posted 11 October 2016 - 01:34 PM

IDK where to put this post so ill put it here, can you please help me with this code because i got this error

bios:14: [string ".temp"]:17: '<eof>' expected

this is the code

http://pastebin.com/BqQY13zw

CC 1.7

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 11 October 2016 - 02:31 PM

Moved to Ask a Pro.

#3 ReBraLaCC

  • Members
  • 100 posts
  • LocationSublime Text 2

Posted 11 October 2016 - 02:36 PM

you did
  drawMenu1()
instead of what it should be like
  drawMenu1 = function()

Edited by ReBraLaCC, 11 October 2016 - 02:37 PM.


#4 HaddockDev

  • Members
  • 61 posts
  • LocationSomewhere, deep down under a rainbow.

Posted 14 October 2016 - 11:02 AM

You forgot a function tag before the
drawMenu1
function.
You can't define a function like this:
  someFunctionHere()
	--some code
end
Instead, define it like this:
function someFunctionHere()
	--some code here
end
Some people define it like this too:
someFunctionHere = function()
	--some code here
end

Edited by Haddock, 14 October 2016 - 11:03 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users