Maksoud Posted June 26, 2015 Share Posted June 26, 2015 السلام عليكم و رحمة الله و بركاته اليوم انا ابي سؤال كيف احط سبب للميوت يطلع بالشات ؟ وين احطه بملفآت الادمنية ؟ Link to comment
Abdul KariM Posted June 26, 2015 Share Posted June 26, 2015 عليكم السلام هذا الموضوع زي طلبك على ماعتقد https://forum.multitheftauto.com/viewtopic.php?f=160&t=85785 بالتوفيق Link to comment
Maksoud Posted June 26, 2015 Author Share Posted June 26, 2015 هلا اخوي انا جربت الكود و ضبط بس في مشكلة لما اسوي UnMute يجيب بالشات (Resson:) Link to comment
3NAD Posted June 26, 2015 Share Posted June 26, 2015 ابحث عن الفنكشن واستبدل. -- admin_server.lua function aSetPlayerMuted ( player, state, length, reason ) if ( setPlayerMuted ( player, state ) ) then if not state then aRemoveUnmuteTimer( player ) elseif state and length and length > 0 then aAddUnmuteTimer( player, length ) if string.len ( reason ) >= 2 then setTimer ( outputChatBox, 80, 1, "Reason: " ..reason, root, 255, 0, 0 ) end end triggerEvent ( "onPlayerMute", player, state ) return true end return false end وهذا ضيف عليه أرقومنت السبب aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds ) aSetPlayerMuted ( player, not isPlayerMuted ( player ), seconds, mdata ) 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