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