Jey Posted March 16, 2015 Share Posted March 16, 2015 ممكن توضح يا غالي يـأخي قل انك تبي الكود جاهز و خلصنا Link to comment
[DONE]* Posted March 16, 2015 Share Posted March 16, 2015 function GUIbutton() if source == GUIbutton then playSound ( --اسم الصوت) end end addEventHandler ( "onClientGUIClick",root,GUIbutton) Link to comment
baba Posted March 16, 2015 Author Share Posted March 16, 2015 function GUIbutton() if source == GUIbutton then playSound ( --اسم الصوت) end end addEventHandler ( "onClientGUIClick",root,GUIbutton) من وين اجيب اسم الصوت؟ Link to comment
#|_oskar_|# Posted March 16, 2015 Share Posted March 16, 2015 انت تبي عند لمس الزر يطلع صوت ولا عند الضغط عليه ولا وش تبي بالضبط ؟ Link to comment
Mr.T9 Posted March 16, 2015 Share Posted March 16, 2015 function GUIbutton() if source == GUIbutton then playSound ( --اسم الصوت) end end addEventHandler ( "onClientGUIClick",root,GUIbutton) من وين اجيب اسم الصوت؟ playSoundFrontEnd addEventHandler ("onClientGUIClick",root, function () if (source == اسم الزر) then playSoundFrontEnd ( source, id ) end end ) بدل id بــ ايدي الصوت 0 - 20 Selection sounds 27 - 30 Bullet sounds 32 - 33 Selection sounds 34 Radio static 35 Stop Radio static 37 - 38 Tick 40 Selection sounds 41 - 42 Tick (no ammo) 43 - 45 Race countdown 46 Repair 47 White noise static 48 Stop White noise static 49 Static short 101 Countdown/selection Link to comment
baba Posted March 16, 2015 Author Share Posted March 16, 2015 انت تبي عند لمس الزر يطلع صوت ولا عند الضغط عليه ولا وش تبي بالضبط ؟ عند الملس Link to comment
Mr.T9 Posted March 16, 2015 Share Posted March 16, 2015 (edited) انت تبي عند لمس الزر يطلع صوت ولا عند الضغط عليه ولا وش تبي بالضبط ؟ عند الملس playSoundFrontEnd addEventHandler ("onClientMouseMove",root, function () if (source == اسم الزر) then playSoundFrontEnd (27) end end ) بدل 27 بــ ايدي الصوت 0 - 20 Selection sounds 27 - 30 Bullet sounds 32 - 33 Selection sounds 34 Radio static 35 Stop Radio static 37 - 38 Tick 40 Selection sounds 41 - 42 Tick (no ammo) 43 - 45 Race countdown 46 Repair 47 White noise static 48 Stop White noise static 49 Static short 101 Countdown/selection Edited March 17, 2015 by Guest Link to comment
[DONE]* Posted March 16, 2015 Share Posted March 16, 2015 function GUIbutton() if source == GUIbutton then playSound ( --اسم الصوت) end end addEventHandler ( "onClientGUIClick",root,GUIbutton) من وين اجيب اسم الصوت؟ تقدر تجيبه من جهآزك ولاكن لا تنسى تعرفه من الميتا Link to comment
[DONE]* Posted March 16, 2015 Share Posted March 16, 2015 ادخل هنا ما رح تحتاج لأنك تاخذ اكواد جاهزه, لما تعرف الأساسيات viewforum.php?f=164 Link to comment
yazan Posted March 16, 2015 Share Posted March 16, 2015 شكرن على الرد بس (وبس وهوا الكود( يطلع صوت من عنده Link to comment
TAPL Posted March 17, 2015 Share Posted March 17, 2015 انت تبي عند لمس الزر يطلع صوت ولا عند الضغط عليه ولا وش تبي بالضبط ؟ عند الملس playSoundFrontEnd addEventHandler ("onClientMouseMove",root, function () if (source == اسم الزر) then playSoundFrontEnd ( source, 27 ) end end ) بدل 27 بــ ايدي الصوت 0 - 20 Selection sounds 27 - 30 Bullet sounds 32 - 33 Selection sounds 34 Radio static 35 Stop Radio static 37 - 38 Tick 40 Selection sounds 41 - 42 Tick (no ammo) 43 - 45 Race countdown 46 Repair 47 White noise static 48 Stop White noise static 49 Static short 101 Countdown/selection فنكشن الصوت بالكلينت ما يحتاج لاعب + السورس في الأفنت هذا بيكون الزر... Link to comment
Mr.T9 Posted March 17, 2015 Share Posted March 17, 2015 فنكشن الصوت بالكلينت ما يحتاج لاعب + السورس في الأفنت هذا بيكون الزر... مانتبهت والله + مشكور عالتنبية 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