1REDBULL Posted May 17, 2014 Posted May 17, 2014 addEventHandler('onClientGUIClick', root, function () if ( source == GUIEditor.button[1] ) then local sound = playSound(M.MP3) setSoundVolume(sound, 0.5) end ) guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible (GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) وش الخطء؟ Level in Scripting : 10% Level in MTA : 100%
!#NssoR_) Posted May 17, 2014 Posted May 17, 2014 (edited) سطر 4 جرب خليه كذا local sound = playSound("M.MP3") + ناقص اند Edited May 17, 2014 by Guest
TAPL Posted May 17, 2014 Posted May 17, 2014 addEventHandler('onClientGUIClick', root, function () if ( source == GUIEditor.button[1] ) then local sound = playSound("M.MP3") setSoundVolume(sound, 0.5) end end)
™!>VàLéNTiNô<!™ Posted May 17, 2014 Posted May 17, 2014 guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler("onClientGuiClick", root, function () if ( source == GUIEditor.button[1] ) then local sound = playSound("M.mp3") setSoundVolume(sound, 0.5) end end ) https://sphinx4host.net أفضل وأرخص موقع لبيع الخوادم وسيرفرات الألعاب وشحن البنوك الإلكترونية شهادة أمان _ موثوق
iMr.Dawix~# Posted May 17, 2014 Posted May 17, 2014 guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler("onClientGuiClick", root, function () if ( source == GUIEditor.button[1] ) then local sound = playSound("M.mp3") setSoundVolume(sound, 0.5) end end ) My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
EH10 Posted May 17, 2014 Posted May 17, 2014 شـكلة سـهران ^ Old Nick : MaxUr , #Skype : maxurmaxur BBM : 577287FC
1REDBULL Posted May 17, 2014 Author Posted May 17, 2014 يعطيكم العافيه طلع ذا الكود الصحيح addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[1])then if(sound)then return end sound = playSound("M.mp3",true) elseif(source == GUIEditor.button[5])then if(sound)then stopSound(sound) sound = nil end end end ) Level in Scripting : 10% Level in MTA : 100%
EH10 Posted May 17, 2014 Posted May 17, 2014 يعني كل ذا مشان كود خخخخ كيف نساعدك وتبي تشغل اغاني Old Nick : MaxUr , #Skype : maxurmaxur BBM : 577287FC
1REDBULL Posted May 17, 2014 Author Posted May 17, 2014 لامو علشان كود كان في خطء و طلع الخطء في الكود و عدلته و مو شرط اغاني ممكن اناشيد او اي شي Level in Scripting : 10% Level in MTA : 100%
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