tommymaster Posted May 13, 2018 Share Posted May 13, 2018 (edited) 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 May 13, 2018 by tommymaster Link to comment
tommymaster Posted May 13, 2018 Author Share Posted May 13, 2018 (edited) No it did not. Edited May 13, 2018 by tommymaster Link to comment
MIKI785 Posted May 14, 2018 Share Posted May 14, 2018 Use <download_priority_group> in the meta.xml to make the 'gui' resource start first. 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now