Jump to content

failed to call 'fall_log:createLog'


Pirulax

Recommended Posts

  • Discord Moderators

Okey, so i have made a script, a logging script, it logs litterally everything, and has 3 exported functions, they are used to create log files, but for some reason, when i want to call them from a separate script using call function["exports.*"] it just throws me an error.["failed to call 'fall_log:createLog'"].I can use the functions in the same script["fall_log"], but cant use somewhere else, for example in "fall_admin-system", indicating, that the script in "fall_log" works correctly, so any ideas?Here's my call[every argument is valid, and not not, if it matters.]:

exports.fall_log:createLog("This is a test","fall_admin/log.json")

I still dont rly want to give out the script for fall_log, but if i really need, then okey.

Link to comment
  • Discord Moderators

Did i forgot to mention, that i added them?Yeah, i added them.

<function export="addLog" type="server" />
<function export="saveLog" type="server" />
<function export="createLog" type="server" />

I tried to use the function from server.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...