Jump to content

getResourceFromName client-side


Et-win

Recommended Posts

Posted

I guess you'd most likley have to do some server-client events (preferably latent events, so the server wouldn't lag)

Previously known as MrTasty.

Posted

just like you can't get a player from getPlayerFromName while he/she is offline, you can't get a resource with getResourceFromName if it's not running.

you can use serverside and use getResources() and check if it exists server-side

if you insist on client-side then idk, i didn't really use this client-sided nor i needed to

Posted

I guess it's because the client is not aware of all resources; only those which are running, have an instance, have their resourceRoot element are visible to the client.

Previously known as MrTasty.

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