Jump to content

طلب كود


Recommended Posts

Posted

السلام عليكم

في مود التاج كـ العادة التاج يكون ل اسل قروب --

بغيت اسوي تاج خاص للاعب معين مثلآ

مثلا

getAccountName اسم الحساب

then

outputChatBox("التاج "..name..":#ffffff "..text, root, 255, 255, 255, true)

حاولت ما ظبط ..

ابي كود حق التأكد من اسم الحساب فقط ..

والسلام عليكم

Posted

ضيف هاد يا مود التاج يلي لك و استبدل

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 ) 
Posted
ضيف هاد يا مود التاج يلي لك و استبدل

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%

بآرك الله في مجهودك :)

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...