Jump to content

help with exports


xTravax

Recommended Posts

i have made 2 separate resources

test2 has an export in it(shared one) and when export gets triggered it outputs a message

test1 has a timer of 5 seconds to trigger exported function and it triggered it and loaded the code(outputted a message) which i wanted it to do

exports should work no matter when a resource has been started. only thing that matters is that 2 resources(the one triggering) and the one who will get triggered need to be running.

also iyyama having an event handler in a function which has shared exported function wouldn't mess up anything, it's just an additional time when a code can run

i still dont understand why isnt my other(real) resource getting triggered

Link to comment
  • Moderators

no indeed it shouldn't, but we are playing on a game modification which get updates all the time, so you never know.

When you start ones of those resources the only error/warning you got is from the export?

(Code doesn't loaded because of an error before)

Well I can only gamble what is going wrong... code looks just fine.

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...