Jump to content

سؤال بسيط.


Adham

Recommended Posts

سلام عليكم ورحمه الله كيفكم جميعأ ؟

إنشاء الله تكونو بخير ..

اليوم كنت اعدل علي لوحه الادمن ع الميوت

جيت في ملف اسمه

messages.xml

لقيت ذاك الكود

<all>$player has been muted$by_admin_4all. $data2</all>
<log>ADMIN: $admin has muted $player $data $data2</log>

وشغال تمام وكل شيء

جيت انا اسوي كذا بحيث ان يظهر سطرين تحت بعض 

<all>$player has been muted$by_admin_4all. $data2</all>
<all>$player has been muted$by_admin_4all. $data2</all>
<log>ADMIN: $admin has muted $player $data $data2</log>

كذا مفروض يظهر سطرين بالعام = all

لاكن يظهر سطر واحد فقط..

واذا حد قال لي غير الإسامي بحيث انها م تكون متشابها فأ قـد جربت *

Link to comment
Just now, #_iMr.[E]coo said:

التعديل يكون ع مخرج الشات وتنسخه مرتين ; مش ع هاض الكود ;-)

يب فهمك, بس المشكله انا ابيه يظهر ع الميوت فقط !

مو علي الباقي

حق سلاب, و حق الكيك, بان , دم, درع, إلخ

Link to comment
Just now, Deativated said:

يب فهمك, بس المشكله انا ابيه يظهر ع الميوت فقط !

مو علي الباقي

حق سلاب, و حق الكيك, بان , دم, درع, إلخ

صراحة ما أعرف , سوي لوحة أدمن لوحدك وريحك حالك , لوحة بسيطة وعلى كيف كيفك , ;-)

Link to comment

اول شي ابحث عن هالسطور

aLogMessages[type][action] = {}
aLogMessages[type][action]["r"] = r or 0
aLogMessages[type][action]["g"] = g or 255
aLogMessages[type][action]["b"] = b or 0

واستبدله بهذا

aLogMessages[type][action] = {}
aLogMessages[type][action]['actiontype'] = action
aLogMessages[type][action]["r"] = r or 0
aLogMessages[type][action]["g"] = g or 255
aLogMessages[type][action]["b"] = b or 0

ثاني شي ابحث عن هالسطر

if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b ) end

واستبدله بهذا

if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b ) if ( ( node["actiontype"] ) == 'mute' ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b ) end end

 

Edited by #,+( _xiRoc[K]; >
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...