Jump to content

طلب كود


w7sH

Recommended Posts

Posted

السلام عليكم .. 

ابي كود اذا صاحب حساب معيين سجل دخول يكتب له أمر ( كوماند ) يعني كأن اللاعب كاتب كلمة بإف8 وضغط إنتر

اتمنى وصلت الفكرة

Posted
2 minutes ago, w7sH said:

فعلاً ليه التيبل .. وأذا ممكن مثال

التيبل عشان تسوي قاعدة بيانات باسماء الحسابات الي تبيها :)

مثال

 

Acc = {
	["Kareem"] = true,
}

addEventHandler ( 'onPlayerLogin', getRootElement ( ),
    function ( _, theCurrentAccount )
    local AccText = getAccountName(theCurrentAccount)
    if ( Acc[AccText] ) then  
executeCommandHandler ( "هنا الكلمة")
      else
        end
    end
)

 

Posted (edited)
4 hours ago, w7sH said:

أصلا الكود ماضبط لا كذا ولا كذا

Acc = {
	["Kareem"] = true,
}

addEventHandler ( 'onPlayerLogin', getRootElement ( ),
function ( _, theCurrentAccount )
local AccText = getAccountName(theCurrentAccount)
if ( Acc[AccText] ) then 
executeCommandHandler ( source, "هنا الكلمة" )
end
end
)

 

Edited by +Source|>
Posted
56 minutes ago, +Source|> said:

Acc = {
	["Kareem"] = true,
}

addEventHandler ( 'onPlayerLogin', getRootElement ( ),
function ( _, theCurrentAccount )
local AccText = getAccountName(theCurrentAccount)
if ( Acc[AccText] ) then 
executeCommandHandler ( source, "هنا الكلمة" )
end
end
)

 

أرقمنت اللاعب بعد الامر

  • Like 1
Posted
19 hours ago, +Source|> said:

Acc = {
	["Kareem"] = true,
}

addEventHandler ( 'onPlayerLogin', getRootElement ( ),
function ( _, theCurrentAccount )
local AccText = getAccountName(theCurrentAccount)
if ( Acc[AccText] ) then 
executeCommandHandler ( source, "هنا الكلمة" )
end
end
)

 

برضه في مشكله فالكود ولا ضبط

Posted (edited)
1 hour ago, w7sH said:

برضه في مشكله فالكود ولا ضبط

سطر 10 خليه

executeCommandHandler("الكلمه اللي تبيها",source)

زي م قال N3xT

Edited by Rakan#

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