Mr.Mostafa Posted May 14, 2019 Posted May 14, 2019 سلام عليكم ابي كل مرة اكتب الامر تيجي الكلمة الي بعدها في الجدول المشكلة لما اجي اكتب الامر 4 مرات , وتيجي الكلمة الاخيرة اجي اكتب مرة خامسة ما يطلع شي ولما اكتب سادسة تطلع , local shrkaNames,countTable = { [1] = {"ش","10000"}, [2] = {"شرة","5000"}, [3] = {" ..","1000"}, [4] = {"h","500"}, },0 addCommandHandler("hey", function() countTable = countTable + 1 if ( countTable >= #shrkaNames+1 ) then countTable = 0 end outputChatBox(shrkaNames[countTable][1],root,255,0,0,true) outputChatBox(countTable,root,255,0,0,true) end ) @N3xT - كنت سويتها لي قبل , بس الكود راح
Mr.Mostafa Posted May 14, 2019 Author Posted May 14, 2019 1 hour ago, N3xT said: سطر 11 شيل الزيادة حقت الواحد صارت ما تجيب الرابع
N3xT Posted May 14, 2019 Posted May 14, 2019 (edited) 1 hour ago, Mr.Mostafa said: صارت ما تجيب الرابع سطر 10 خليه بالأخير Edited May 14, 2019 by N3xT
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