AhmeD~9MoD Posted May 25, 2013 Share Posted May 25, 2013 شباب كيف اجيب أيدي الطقس الي ابيه ؟؟ setWeather مثلاً :- طقس العاصفة طقس المطر طقس سماء طقس غبار .. الخ وشكراً Link to comment
iPrestege Posted May 25, 2013 Share Posted May 25, 2013 https://wiki.multitheftauto.com/wiki/Weather Link to comment
AhmeD~9MoD Posted May 25, 2013 Author Share Posted May 25, 2013 https://wiki.multitheftauto.com/wiki/Weather ثانكس برستيج ^ Link to comment
AhmeD~9MoD Posted May 26, 2013 Author Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function () setWeather ( 8 ) end,false) ابغى اخلي ذا الكود فقط يصير للاعب الي هو الطقس يتغير عند اللاعب بس .. Link to comment
#Al-Ha[J]aRii Posted May 26, 2013 Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function () setWeather ( 8 ) end,false) ابغى اخلي ذا الكود فقط يصير للاعب الي هو الطقس يتغير عند اللاعب بس .. addEventHandler ( "onClientGUIClick",root, function (player) if ( player == localPlayer ) then if ( source == Button ) then setWeather (8) end end end) Link to comment
AhmeD~9MoD Posted May 26, 2013 Author Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick",root, function ( player ) if ( player == localPlayer ) then if ( source == GUIEditor.button[1] ) then setWeather (8) elseif ( source == GUIEditor.button[2] ) then setWeather (19) elseif ( source == GUIEditor.button[3] ) then setWeather (1) end end end ) الحجري كودك ماضبط , اعتقد يصير اختصر اكثر واسوي كذا ؟؟ Link to comment
iPrestege Posted May 26, 2013 Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setWeather (8) elseif ( source == GUIEditor.button[2] ) then setWeather (19) elseif ( source == GUIEditor.button[3] ) then setWeather (1) end end ) Link to comment
#Al-Ha[J]aRii Posted May 26, 2013 Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick",root, function ( player ) if ( player == localPlayer ) then if ( source == GUIEditor.button[1] ) then setWeather (8) elseif ( source == GUIEditor.button[2] ) then setWeather (19) elseif ( source == GUIEditor.button[3] ) then setWeather (1) end end end ) الحجري كودك ماضبط , اعتقد يصير اختصر اكثر واسوي كذا ؟؟ قصــدك يتغير الطقس بس حق الاعب الي ضغط الزر ؟؟ Link to comment
AhmeD~9MoD Posted May 26, 2013 Author Share Posted May 26, 2013 addEventHandler ( "onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setWeather (8) elseif ( source == GUIEditor.button[2] ) then setWeather (19) elseif ( source == GUIEditor.button[3] ) then setWeather (1) end end ) ضبط ثآنكس برستيج ^ ثانكس الحجري 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