; Mr.T76eM # Posted May 19, 2015 Posted May 19, 2015 السلام عليكم في مود التاج كـ العادة التاج يكون ل اسل قروب -- بغيت اسوي تاج خاص للاعب معين مثلآ مثلا getAccountName اسم الحساب then outputChatBox("التاج "..name..":#ffffff "..text, root, 255, 255, 255, true) حاولت ما ظبط .. ابي كود حق التأكد من اسم الحساب فقط .. والسلام عليكم
; Mr.T76eM # Posted May 19, 2015 Author Posted May 19, 2015 getPlayerAccount getAccountName استخدم الاول فقط ولا الثاني ام الاثنان معآ
shwaeki Posted May 19, 2015 Posted May 19, 2015 ضيف هاد يا مود التاج يلي لك و استبدل Your Text : التاج يلي بدك اياه Account Name : اسم الحساب addEventHandler("onPlayerChat",root, function (msg,type) if type == 0 then local AccountName = getAccountName(getPlayerAccount(source)) if ( not isGuestAccount(getPlayerAccount(source)) and AccountName == "Account Name" ) then cancelEvent() outputChatBox("[ Your Text ] "..getPlayerName(source).." : #ffffff"..msg, root, 0, 255, 0, true) end end end )
; Mr.T76eM # Posted May 19, 2015 Author Posted May 19, 2015 يشتغل لكن مع التكرار لانه يكون في قروب Everyone . .
; Mr.T76eM # Posted May 19, 2015 Author Posted May 19, 2015 ضيف هاد يا مود التاج يلي لك و استبدل Your Text : التاج يلي بدك اياه Account Name : اسم الحساب addEventHandler("onPlayerChat",root, function (msg,type) if type == 0 then local AccountName = getAccountName(getPlayerAccount(source)) if ( not isGuestAccount(getPlayerAccount(source)) and AccountName == "Account Name" ) then cancelEvent() outputChatBox("[ Your Text ] "..getPlayerName(source).." : #ffffff"..msg, root, 0, 255, 0, true) end end end ) -- تمت الافادة عدلت على الكود حقي شوي عشان السكربت يشتغل شكرآ لك جزيل الشكر اخوي تم واشتغل تمام 100% بآرك الله في مجهودك
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