Jump to content




Help Whit Program, Rednet And Ccsensors


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

#1 niels2398

  • Members
  • 3 posts

Posted 01 November 2013 - 06:13 AM

so I recently made a program http://pastebin.com/vz85sekM
and i get somme errors bud i don't understand why
its split for 3 computers sender,repeater and receiver
I already get errors in first part

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 01 November 2013 - 01:01 PM

Split into new topic.

What are the errors you're getting?

#3 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 01 November 2013 - 01:14 PM

 checkForTargets
 getPlayerName
 sendPlayerName

You need to put the brackets at the end...


 checkForTargets()
 getPlayerName()
 sendPlayerName()


#4 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 01 November 2013 - 01:59 PM

you are missing ends and parentheses on your functions
function func()
  --stuff
end
also when you call the functions
func()


#5 LBPHacker

  • Members
  • 766 posts
  • LocationBudapest, Hungary

Posted 01 November 2013 - 02:36 PM

View PostZudoHackz, on 01 November 2013 - 01:14 PM, said:

-snip-
And the function delcarations are all messed up. You should maybe consider using the end keyword sometimes. Read the PIL; I don't think it's our job to teach you the basics of Lua.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users