Announcement

Collapse
No announcement yet.

Exported functions don't accept function as a parameter.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Exported functions don't accept function as a parameter.

    When you export a function from a package and then, if you would try to use the exported function in annother one and pass one of the arguments as a function, the function will be nil in the source package.

    #2
    Added to Trello for Talos to look into.
    Game Developer @ Onset RP // Early Access tester // Wiki Contributor

    Comment


      #3
      Unfortunately, it's impossible to pass a function to another Lua state.

      Comment

      Working...
      X