w7sH Posted August 17, 2018 Posted August 17, 2018 السلام عليكم .. ابي كود اذا صاحب حساب معيين سجل دخول يكتب له أمر ( كوماند ) يعني كأن اللاعب كاتب كلمة بإف8 وضغط إنتر اتمنى وصلت الفكرة
MrKAREEM Posted August 17, 2018 Posted August 17, 2018 CreateTable OnPlayerLogin GetAccount ExecuteCommandHandler
Mr.Mostafa Posted August 17, 2018 Posted August 17, 2018 40 minutes ago, MrKAREEM said: CreateTable ليه هادي ؟
MrKAREEM Posted August 17, 2018 Posted August 17, 2018 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 )
w7sH Posted August 17, 2018 Author Posted August 17, 2018 يطلع لي بالبرتقالي عن هذي الكلمه executeCommandHandler
Rockyz Posted August 17, 2018 Posted August 17, 2018 وش هو الكوماند اذا كان الكوماند من اللعبة مايصير
+Source|> Posted August 17, 2018 Posted August 17, 2018 (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 August 17, 2018 by +Source|>
N3xT Posted August 17, 2018 Posted August 17, 2018 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 ) أرقمنت اللاعب بعد الامر 1
w7sH Posted August 18, 2018 Author Posted August 18, 2018 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 ) برضه في مشكله فالكود ولا ضبط
Rakan# Posted August 18, 2018 Posted August 18, 2018 (edited) 1 hour ago, w7sH said: برضه في مشكله فالكود ولا ضبط سطر 10 خليه executeCommandHandler("الكلمه اللي تبيها",source) زي م قال N3xT Edited August 18, 2018 by Rakan#
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