Jump to content

Non-running server resource?


Recommended Posts

Hi! I have a resource made for client side, and it's name is GUI. When a player joins, the first line of the login system is to export from that resource. But sometimes it can do it, sometimes it can't. And if it can't, I usually enter the "list" command to my server console, and it is running there. But after i restart it, it works. Maybe the resource is not ready on client side? And why does it say "server resource", if all the resource's script type is "client"? + When it does not work, i need to restart the resource, reconnecting is not enough.

Line I get the error on:

gui = exports.gui

I export from client-side, but there are triggers into the GUI script from server side.

<include resource="gui"/>

Maybe this will fix it.

Edited by tommymaster
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...