Beluga Posted October 31, 2010 Posted October 31, 2010 I made a script that should open a window, create image and setCameraMatrix but those things aren't happened. The screen keep staying black? Someone can help me. loginWindow = guiCreateWindow(0.35875,0.285,0.28375,0.4167,"Welcome to The Friend Mode v0.1 BETA",true) toggleControl ("chatbox",false) guiWindowSetMovable(loginWindow,false) guiWindowSetSizable(loginWindow,false) loginWindowUsernameLabel = guiCreateLabel(0.0352,0.108,0.859,0.112,"Username",true,loginWindow) guiLabelSetColor(loginWindowUsernameLabel,255,255,255) guiLabelSetVerticalAlign(loginWindowUsernameLabel,"center") guiLabelSetHorizontalAlign(loginWindowUsernameLabel,"left",false) loginWindowUsernameEdit = guiCreateEdit(0.0749,0.248,0.8238,0.124,"",true,loginWindow) guiEditSetMaxLength(loginWindowUsernameEdit,20) loginWindowPasswordEdit = guiCreateEdit(0.0749,0.54,0.8238,0.124,"",true,loginWindow) guiEditSetMasked(loginWindowPasswordEdit,true) guiEditSetMaxLength(loginWindowPasswordEdit,20) loginWindowPasswordLabel = guiCreateLabel(0.0352,0.396,0.8062,0.12,"Password",true,loginWindow) guiLabelSetColor(loginWindowPasswordLabel,255,255,255) guiLabelSetVerticalAlign(loginWindowPasswordLabel,"center") guiLabelSetHorizontalAlign(loginWindowPasswordLabel,"left",false) loginWindowLoginButton = guiCreateButton(0.0441,0.704,0.9031,0.108,"Log in!",true,loginWindow) loginWindowRegisterButton = guiCreateButton(0.0441,0.836,0.9031,0.108,"Register",true,loginWindow) showCursor (true,true) showChat (false) setCameraMatrix (-2770.24,-1133.92,38.14,-2881.06,-907.75,9.301) showPlayerHudComponent ("radar",false) fadeCamera (true,2.5) widescreenImage = guiCreateStaticImage(0,0,1,1,"widescreen.png",true,getRootElement()) guiMoveToBack (widescreenImage)
Castillo Posted October 31, 2010 Posted October 31, 2010 the script works fine.. remember to put it on client side.
Beluga Posted October 31, 2010 Author Posted October 31, 2010 I have it on client side, It must be something else in the script.
Beluga Posted October 31, 2010 Author Posted October 31, 2010 http://easy-upload.nl/f/j5HI1TSa I uploaded it to that site
dzek (varez) Posted October 31, 2010 Posted October 31, 2010 open your client file in Unofficial MTA Script Editor - you have syntax error in your client script (unclosed quote). Also: https://wiki.multitheftauto.com/index.ph ... ging&go=Go
Beluga Posted October 31, 2010 Author Posted October 31, 2010 MTA Script Editor don't shows any errors.
dzek (varez) Posted October 31, 2010 Posted October 31, 2010 go debugging then. but its weird that MTA SE doesnt see it
Castillo Posted November 1, 2010 Posted November 1, 2010 varez, he is wrong it shows like 30 errors at MTA script editor.
Beluga Posted November 1, 2010 Author Posted November 1, 2010 varez, he is wrong it shows like 30 errors at MTA script editor. Look my MTA Script Editor don't show any errors. //EDIT :: Hmm it is strange but I restart MTA Script Editor and now he shows errors.
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