yasin0 Posted May 30, 2017 Share Posted May 30, 2017 (edited) شباب وش الخطاء مايطلع صوت function aChattedConsole (aPlayer) local accName = getAccountName ( getPlayerAccount ( aPlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then playSoundFrontEnd (source, 11) end end addEventHandler("onPlayerChat",root,aChattedConsole) Edited May 30, 2017 by yasin0 Link to comment
#BrosS Posted May 30, 2017 Share Posted May 30, 2017 function aChattedConsole () local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then playSoundFrontEnd (source, 11) end end addEventHandler("onPlayerChat",root,aChattedConsole) Link to comment
yasin0 Posted May 30, 2017 Author Share Posted May 30, 2017 مشكور بس ممكن تعلمني الخطاء Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 4 minutes ago, yasin0 said: مشكور بس ممكن تعلمني الخطاء لأن ببساطة المفروض تحول aPlayer الى سورس + وال aPlayer ببارتمرات الحدث هي الرسالة , يعني انت تحققت من الرسالة وليس اللاعب .. Link to comment
yasin0 Posted May 30, 2017 Author Share Posted May 30, 2017 (edited) ليش كذا مو ضابط ؟ لا خلاص حليتها مشكور Edited May 30, 2017 by yasin0 Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 1 minute ago, yasin0 said: ليش كذا مو ضابط ؟ addEventHandler("onPlayerChat",root,function() local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup("user."..accName,aclGetGroup("Console") then playSoundFrontEnd(root,12) end end ); تأكد انك ضايف المود لقروب الادمن Link to comment
yasin0 Posted May 30, 2017 Author Share Posted May 30, 2017 لا حليتها كان في قوس ناقص 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