SmoKing Posted March 9, 2013 Share Posted March 9, 2013 السلام عليكم شباب انا سويت ذا بس مدري ليه مايضبط كل شوي يطلع failed ---- Client Side ! ---- image1 = guiCreateStaticImage(0,500,799,99,"images/info.png", false) guiSetVisible(image1,false) image2 = guiCreateStaticImage(628,28,161,71,"images/leaders.png", false, image1) guiSetAlpha(image2, 0.77) image3 = guiCreateStaticImage(10,28,161,71,"images/member.png", false, image1) guiSetAlpha(image3, 0.77) image4 = guiCreateStaticImage(321,28,161,71,"images/cw.png", false, image1) guiSetAlpha(image4, 0.77) image5 = guiCreateStaticImage(0,0,799,499,"images/open1.png", false) guiSetVisible(image5,false) image6 = guiCreateStaticImage(0,0,799,499,"images/open2.png", false) guiSetVisible(image6,false) image7 = guiCreateStaticImage(0,0,799,499,"images/open3.png", false) guiSetVisible(image7,false) image8 = guiCreateStaticImage(260,-12,283,98,"images/leaders2.png", false) guiSetVisible(image8,false) image9 = guiCreateStaticImage(260,-12,283,98,"images/member2.png", false) guiSetVisible(image9,false) image10 = guiCreateStaticImage(260,-12,283,98,"images/cw2.png", false) guiSetVisible(image10,false) image11 = guiCreateStaticImage(628,32,161,71,"images/leaders.png", false) guiSetVisible(image11,false) image12 = guiCreateStaticImage(10,32,161,71,"images/member.png", false) guiSetVisible(image12,false) image13 = guiCreateStaticImage(321,32,161,71,"images/cw.png", false) guiSetVisible(image13,false) function open() guiSetVisible(image1,not guiGetVisible(image1)) showCursor(guiGetVisible(image1)) guiSetInputEnabled(guiGetVisible(image1)) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,false guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,false) end bindKey("F1","down",open) function oppen(button, state, absoluteX, absoluteY) if (source == image2) then showCursor(true) guiSetVisible(image2,false) guiSetVisible(image3,true) guiSetVisible(image4,true) guiSetVisible(image5,true) guiSetVisible(image6,false) guiSetVisible(image7,false) guiSetVisible(image8,true) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,true) guiSetVisible(image12,false) guiSetVisible(image13,false) elseif (source == image3) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,false) guiSetVisible(image4,true) guiSetVisible(image5,false) guiSetVisible(image6,true) guiSetVisible(image7,false) guiSetVisible(image8,false) guiSetVisible(image9,true) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,true) guiSetVisible(image13,false) elseif (source == image4) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,true) guiSetVisible(image4,false) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,true) guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,true) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,true) end end addEventHandler ("onClientGUIClick", getRootElement(), oppen) ---- Meta ---- "Client.lua" type="client"/> "images/open1.png"/> "images/open2.png"/> "images/open3.png"/> "images/info.png"/> "images/leaders.png"/> "images/member.png"/> "images/cw.png"/> "images/leaders2.png"/> "images/member2.png"/> "images/cw2.png"/> Link to comment
jafar Posted March 9, 2013 Share Posted March 9, 2013 السلام عليكمشباب انا سويت ذا بس مدري ليه مايضبط كل شوي يطلع failed ---- Client Side ! ---- image1 = guiCreateStaticImage(0,500,799,99,"images/info.png", false) guiSetVisible(image1,false) image2 = guiCreateStaticImage(628,28,161,71,"images/leaders.png", false, image1) guiSetAlpha(image2, 0.77) image3 = guiCreateStaticImage(10,28,161,71,"images/member.png", false, image1) guiSetAlpha(image3, 0.77) image4 = guiCreateStaticImage(321,28,161,71,"images/cw.png", false, image1) guiSetAlpha(image4, 0.77) image5 = guiCreateStaticImage(0,0,799,499,"images/open1.png", false) guiSetVisible(image5,false) image6 = guiCreateStaticImage(0,0,799,499,"images/open2.png", false) guiSetVisible(image6,false) image7 = guiCreateStaticImage(0,0,799,499,"images/open3.png", false) guiSetVisible(image7,false) image8 = guiCreateStaticImage(260,-12,283,98,"images/leaders2.png", false) guiSetVisible(image8,false) image9 = guiCreateStaticImage(260,-12,283,98,"images/member2.png", false) guiSetVisible(image9,false) image10 = guiCreateStaticImage(260,-12,283,98,"images/cw2.png", false) guiSetVisible(image10,false) image11 = guiCreateStaticImage(628,32,161,71,"images/leaders.png", false) guiSetVisible(image11,false) image12 = guiCreateStaticImage(10,32,161,71,"images/member.png", false) guiSetVisible(image12,false) image13 = guiCreateStaticImage(321,32,161,71,"images/cw.png", false) guiSetVisible(image13,false) function open() guiSetVisible(image1,not guiGetVisible(image1)) showCursor(guiGetVisible(image1)) guiSetInputEnabled(guiGetVisible(image1)) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,false guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,false) end bindKey("F1","down",open) function oppen(button, state, absoluteX, absoluteY) if (source == image2) then showCursor(true) guiSetVisible(image2,false) guiSetVisible(image3,true) guiSetVisible(image4,true) guiSetVisible(image5,true) guiSetVisible(image6,false) guiSetVisible(image7,false) guiSetVisible(image8,true) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,true) guiSetVisible(image12,false) guiSetVisible(image13,false) elseif (source == image3) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,false) guiSetVisible(image4,true) guiSetVisible(image5,false) guiSetVisible(image6,true) guiSetVisible(image7,false) guiSetVisible(image8,false) guiSetVisible(image9,true) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,true) guiSetVisible(image13,false) elseif (source == image4) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,true) guiSetVisible(image4,false) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,true) guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,true) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,true) end end addEventHandler ("onClientGUIClick", getRootElement(), oppen) ---- Meta ---- "Client.lua" type="client"/> "images/open1.png"/> "images/open2.png"/> "images/open3.png"/> "images/info.png"/> "images/leaders.png"/> "images/member.png"/> "images/cw.png"/> "images/leaders2.png"/> "images/member2.png"/> "images/cw2.png"/> ---- Meta ---- Link to comment
jafar Posted March 9, 2013 Share Posted March 9, 2013 image1 = guiCreateStaticImage(0,500,799,99,"images/info.png", false) guiSetVisible(image1,false) image2 = guiCreateStaticImage(628,28,161,71,"images/leaders.png", false, image1) guiSetAlpha(image2, 0.77) image3 = guiCreateStaticImage(10,28,161,71,"images/member.png", false, image1) guiSetAlpha(image3, 0.77) image4 = guiCreateStaticImage(321,28,161,71,"images/cw.png", false, image1) guiSetAlpha(image4, 0.77) image5 = guiCreateStaticImage(0,0,799,499,"images/open1.png", false) guiSetVisible(image5,false) image6 = guiCreateStaticImage(0,0,799,499,"images/open2.png", false) guiSetVisible(image6,false) image7 = guiCreateStaticImage(0,0,799,499,"images/open3.png", false) guiSetVisible(image7,false) image8 = guiCreateStaticImage(260,-12,283,98,"images/leaders2.png", false) guiSetVisible(image8,false) image9 = guiCreateStaticImage(260,-12,283,98,"images/member2.png", false) guiSetVisible(image9,false) image10 = guiCreateStaticImage(260,-12,283,98,"images/cw2.png", false) guiSetVisible(image10,false) image11 = guiCreateStaticImage(628,32,161,71,"images/leaders.png", false) guiSetVisible(image11,false) image12 = guiCreateStaticImage(10,32,161,71,"images/member.png", false) guiSetVisible(image12,false) image13 = guiCreateStaticImage(321,32,161,71,"images/cw.png", false) guiSetVisible(image13,false) function open() guiSetVisible(image1,not guiGetVisible(image1)) showCursor(guiGetVisible(image1)) guiSetInputEnabled(guiGetVisible(image1)) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,false) guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,false) end bindKey("F1","down",open) function oppen(button, state, absoluteX, absoluteY) if (source == image2) then showCursor(true) guiSetVisible(image2,false) guiSetVisible(image3,true) guiSetVisible(image4,true) guiSetVisible(image5,true) guiSetVisible(image6,false) guiSetVisible(image7,false) guiSetVisible(image8,true) guiSetVisible(image9,false) guiSetVisible(image10,false) guiSetVisible(image11,true) guiSetVisible(image12,false) guiSetVisible(image13,false) elseif (source == image3) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,false) guiSetVisible(image4,true) guiSetVisible(image5,false) guiSetVisible(image6,true) guiSetVisible(image7,false) guiSetVisible(image8,false) guiSetVisible(image9,true) guiSetVisible(image10,false) guiSetVisible(image11,false) guiSetVisible(image12,true) guiSetVisible(image13,false) elseif (source == image4) then showCursor(true) guiSetVisible(image2,true) guiSetVisible(image3,true) guiSetVisible(image4,false) guiSetVisible(image5,false) guiSetVisible(image6,false) guiSetVisible(image7,true) guiSetVisible(image8,false) guiSetVisible(image9,false) guiSetVisible(image10,true) guiSetVisible(image11,false) guiSetVisible(image12,false) guiSetVisible(image13,true) end end addEventHandler ("onClientGUIClick", getRootElement(), oppen) ناسي قوس Link to comment
iPrestege Posted March 9, 2013 Share Posted March 9, 2013 من السطر : 34 - 42 ماله أي داعي لأنها مخفيه أصلا # و ماله داعي تظهر الماوس لانة ظاهر اصلا مع فتح اللوحة 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