Drano Posted December 9, 2014 Share Posted December 9, 2014 Salut , vreau sa fac un anunt sa apara intr-un tabel si imi da erroarea asta. Link to comment
Strike27208 Posted December 9, 2014 Share Posted December 9, 2014 Dacai ai posta macar jumatate din script sa vad despre ce este vorba te-as putea ajuta. Sau din caz ca scriptul tau este pus pe server mutal pe client "guiGetScreenSize" este pentru client , il schimbi din meta. Link to comment
Drano Posted December 9, 2014 Author Share Posted December 9, 2014 Daca mil poti face sa mearga pentru amandoua te rog. local warningBox, warningMessage, warningOk = nil function LoginScreen_showWarningMessage( message ) if (isElement(warningBox)) then destroyElement(warningBox) end local x, y = guiGetScreenSize() warningBox = guiCreateStaticImage( x*.5-150,0, 400, 190, "poze/poza1.png", false ) guiWindowSetSizable( warningBox, false ) warningMessage = guiCreateLabel( 120, 26, 220, 90, message, false, warningBox ) guiLabelSetHorizontalAlign( warningMessage, "center", true ) guiLabelSetVerticalAlign( warningMessage, "center" ) setTimer(guiSetVisible, 15000, 1,warningBox,false) guiBringToFront( warningBox ) local sound = playSound ("poze/sunet.mp3") setSoundVolume (sound,0.5) end addEventHandler("accounts:error:window", getRootElement(), LoginScreen_showWarningMessage) Link to comment
Strike27208 Posted December 9, 2014 Share Posted December 9, 2014 Daca mil poti face sa mearga pentru amandoua te rog. [code=text]local warningBox, warningMessage, warningOk = nil function LoginScreen_showWarningMessage( message ) if (isElement(warningBox)) then destroyElement(warningBox) end local x, y = guiGetScreenSize() warningBox = guiCreateStaticImage( x*.5-150,0, 400, 190, "poze/poza1.png", false ) guiWindowSetSizable( warningBox, false ) warningMessage = guiCreateLabel( 120, 26, 220, 90, message, false, warningBox ) guiLabelSetHorizontalAlign( warningMessage, "center", true ) guiLabelSetVerticalAlign( warningMessage, "center" ) setTimer(guiSetVisible, 15000, 1,warningBox,false) guiBringToFront( warningBox ) local sound = playSound ("poze/sunet.mp3") setSoundVolume (sound,0.5) end addEventHandler("accounts:error:window", getRootElement(), LoginScreen_showWarningMessage)[/code][/quote] Nu vad nimic in neregula cu scriptul posteaza ce scrie in meta . Link to comment
Drano Posted December 9, 2014 Author Share Posted December 9, 2014 Pai nu are meta ca asta se pune in script... ca o functie. Doar scriptul cu totul are meta. Link to comment
Strike27208 Posted December 9, 2014 Share Posted December 9, 2014 Pai nu are meta ca asta se pune in script... ca o functie.Doar scriptul cu totul are meta. add skype : daniel27208 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