Jump to content

guiCreateStaticImage not working


Greenhound

Recommended Posts

Posted

logo = guiCreateStaticImage(0.2, 0.35, 0.6, 0.3, "logo.png", true)

on later calls logo is nil and error.

the file logo.png is in the same folder as the client script

here in meta.xml

why is logo nil

Posted

Your meta.xml:


The path you are using:

logo = guiCreateStaticImage(0.2, 0.35, 0.6, 0.3, "logo.png", true) 

See the problem? you are using "logo.png" not "client/logo.png".

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