DARTH Posted April 23, 2020 Posted April 23, 2020 (edited) function ini() wnd = guiCreateWindow(1063, 243, 235, 323, "test", false) btn = guiCreateButton(71, 76, 101, 44, "open", false, wnd) end addCommandHandler("o",ini) I can't open the gui at all, even using guiSetVisible inside the function and nothing! Can someone help me? returns me the following error on the console : attempt to call global 'guiCreateWindow' (a nil value) Edited April 23, 2020 by DARTH
sacr1ficez Posted April 23, 2020 Posted April 23, 2020 4 minutes ago, DARTH said: attempt to call global 'guiCreateWindow' (a nil value) Make sure your script is set to client in meta.xml
DARTH Posted April 23, 2020 Author Posted April 23, 2020 5 minutes ago, majqq said: Make sure your script is set to client in meta.xml it worked thank you man, i really had forgotten the meta.xml
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