kamel10 Posted July 3, 2014 Share Posted July 3, 2014 ابي كيف اخلي يعني لو ادمن صك واحد باند او ميوت او كيك تطلع فوق مو في الشات بوكس وانا استخدم هذا https://community.multitheftauto.com/index.php?p= ... ls&id=4448 Link to comment
acount deleted Posted July 3, 2014 Share Posted July 3, 2014 شف المثال الي فوق رابط التحميل مثال سيرفر و تحته مثال كلينت Link to comment
kamel10 Posted July 3, 2014 Author Share Posted July 3, 2014 انا الحين اعرف اخلي اي شيئ يطلع فوق بس مالقيت وين اعدل عشان اخلي اذا ادمن صك كيك تطلع فوق Link to comment
TAPL Posted July 3, 2014 Share Posted July 3, 2014 الي تبيه يطلع فوق و استبدل outputChatBox افتح مود الأدمنية و ابحث عن Link to comment
kamel10 Posted July 3, 2014 Author Share Posted July 3, 2014 بحثت ومالقيت لقيت بس في admin\conf\messages وماعرف استبدل ما لقيت outputchatbox Link to comment
TAPL Posted July 3, 2014 Share Posted July 3, 2014 admin_server.lua تلقاه في ملف اعتقد انه هذا function aAction ( type, action, admin, player, data, more ) if ( aLogMessages[type] ) then function aStripString ( string ) string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string, "$player", getPlayerName ( player ) ) end return tostring ( string.gsub ( string, "$data", data or "" ) ) end local node = aLogMessages[type][action] if ( node ) then local r, g, b = node["r"], node["g"], node["b"] if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b ) end if ( node["admin"] ) and ( admin ~= player ) then outputChatBox ( aStripString ( node["admin"] ), admin, r, g, b ) end if ( node["player"] ) then outputChatBox ( aStripString ( node["player"] ), player, r, g, b ) end if ( node["log"] ) then outputServerLog ( aStripString ( node["log"] ) ) end end end end Link to comment
' ρяofзśŝoя 亗 Posted July 4, 2014 Share Posted July 4, 2014 الرجاء عند طلب اغلاق الموضوع إرسال رسالة خاصة لأي مشرف او الإبلاغ عن الموضوع, شكراً Link to comment
Recommended Posts