Man of surprises Posted June 20, 2018 Share Posted June 20, 2018 السلام علكيم ورحمه الله وبركاتة علطول اجد هذا الكود في لعض السكريبتات بس ما ايش وظيفتوا @ ارجو شرح لهذا الكود for playerKey, playerValue in ipairs(alivePlayers) do Link to comment
+Source|> Posted June 20, 2018 Share Posted June 20, 2018 16 minutes ago, w.T|{K}iller_PrO said: السلام علكيم ورحمه الله وبركاتة علطول اجد هذا الكود في لعض السكريبتات بس ما ايش وظيفتوا @ ارجو شرح لهذا الكود for playerKey, playerValue in ipairs(alivePlayers) do هذه لوب for 1 Link to comment
Man of surprises Posted June 20, 2018 Author Share Posted June 20, 2018 اخي بعد اذنك لسا بادئ من فترة وضح من فضلك ارجو التوضيح + شكرا Link to comment
Man of surprises Posted June 21, 2018 Author Share Posted June 21, 2018 شكرا جدا لحد الحين ما حد فهمني شكرا اوي Link to comment
^iiEcoo'x_) Posted June 21, 2018 Share Posted June 21, 2018 9 hours ago, +Source|> said: هذه لوب for جوابك خاطئ . يالطيب , هذا يستخرج لك القيم من الجدول , مثال : for _ , v in ipairs ( { 'soso' , 'fofo' } ) do outputchatbox ( v ) end -- النتيجة الي تطلع في الشات . -- soso -- fofo او تسوي لك تكرار للقيم تقدر تقول , اصلا لما تستخرج قيم تستخرج لك القيم ورا بعض , ف يعني تقدر تقول بشكل ثاني تكرر القيم , ناخذ مثال . for i = 10 , 1 , -1 do outputChatBox ( i ) end -- النتيجة : 10 9 8 7 6 5 4 3 2 1 1 Link to comment
Man of surprises Posted June 21, 2018 Author Share Posted June 21, 2018 كفووووووووووووووووو يا معلمهم تسلم ع الشرح الجميل ذا 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