Jump to content

GUI Problems


Sky4D

Recommended Posts

Well, i'm having a problem with GUIs lately as i'm starting to work with them more.. I can't get the darn things to work!

My code:

guiSetVisible(wdwselector, true)

The error:

ERROR: gm\script.lua:29: attempt to call global 'guiSetVisible'

I have absolutely no idea what this means, i'm setting it to true, so it shouldn't be a nil value. Any help? Thanks.

Link to comment
Yes. You can't use client-side functions in server-side scripts.

Could you please explain a bit more? (Same to the user above, sorry for not quoting you) I'm new to the whole idea of "resources", so I don't really know. I'll check the wiki though for a bit more information.

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