Greenhound Posted March 30, 2013 Share Posted March 30, 2013 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 Link to comment
Castillo Posted March 30, 2013 Share Posted March 30, 2013 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". Link to comment
Greenhound Posted March 30, 2013 Author Share Posted March 30, 2013 https://wiki.multitheftauto.com/wiki/Filepath "A filepath is a path that leads up to a file. These are relative to the root directory of the resource it is being called from." damn you wiki, thank you solidsnake 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