Jump to content




Help with printcenterd.


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

#1 cheekycharlie101

  • Members
  • 231 posts

Posted 03 October 2012 - 05:19 PM

ok so i have been using printCentered a lot in my code. but i wonderd if it would work on a monitor. i tried using mon.printCentered and got attempt to index. a nill value. so i tired just normal printCentered and got another error. is it possible to use these on monitors. if so pleasee help me. thanks -Cheeky

#2 Doyle3694

  • Members
  • 815 posts

Posted 03 October 2012 - 05:22 PM

make another function like monPrintCentered or something. then type 'mon' in front of set cursor pos and for printing do mon.writeLine()

#3 cheekycharlie101

  • Members
  • 231 posts

Posted 03 October 2012 - 05:30 PM

View PostDoyle3694, on 03 October 2012 - 05:22 PM, said:

make another function like monPrintCentered or something. then type 'mon' in front of set cursor pos and for printing do mon.writeLine()
still get the attempt to index error

#4 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 03 October 2012 - 07:49 PM

Fixed my API so it should work with monitors, Cheeky. Try the new version: http://pastebin.com/dXamY7Jc





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users