Jump to content

طلب كود


w7sH

Recommended Posts

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

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

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

Link to comment
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
)

 

Link to comment
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|>
Link to comment
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
Link to comment
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
)

 

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

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