Jump to content




api on disk


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

#1 makerimages

  • Members
  • 236 posts

Posted 22 July 2012 - 10:05 AM

hi i have a api on a disk its in /apis and if i try to call a function of it in the same disk`s startup i get a attempt to call nil value how to fix??

#2 Ponder

  • New Members
  • 49 posts

Posted 22 July 2012 - 11:40 AM

You mean it is on "/disk/apis/"?
In generell you'll have to load a API before you can use it with "os.loadAPI (<PathToAPI>)". Just add that at the beginning in your script and it should work fine.

#3 makerimages

  • Members
  • 236 posts

Posted 22 July 2012 - 12:23 PM

its on a disk in a folder named apis





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users