Jump to content




Mouse click doesn't work?


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

#1 27thColt

  • Members
  • 11 posts

Posted 02 May 2013 - 09:24 PM

I am trying to make an OS for non-advance computers.
Spoiler
As you can see,I want it so if you click restart,it will reboot.But clicking restart won't do anything.If I click shutdown,it doesn't do anything either.I looked at all of my code.I don't see anything wrong.Can anyone help me??

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 02 May 2013 - 09:26 PM

Normal computers don't have click support.

#3 27thColt

  • Members
  • 11 posts

Posted 02 May 2013 - 09:29 PM

View PostKingdaro, on 02 May 2013 - 09:26 PM, said:

Normal computers don't have click support.

ok....well I actually tested it on my advanced computer,it still doesn't work.The Least I can do is correct my mistake

#4 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 02 May 2013 - 11:57 PM

Missed a comma on this line:
local event button, X, Y = os.pullEventRaw()
needs a comma between event and button

#5 27thColt

  • Members
  • 11 posts

Posted 03 May 2013 - 09:50 PM

View PostremiX, on 02 May 2013 - 11:57 PM, said:

Missed a comma on this line:
local event button, X, Y = os.pullEventRaw()
needs a comma between event and button

oh.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users