^iiEcoo'x_) Posted February 9, 2017 Share Posted February 9, 2017 (edited) السلام عليكم عندي هذا الكود , مدري وش الخطأ بيه , يقلي الخطأ ب else ! function StartTheMission() TimerMission = setTimer(function() for i, v in pairs( TableMission ) do outputChatBox( "started . ", i, 255, 170, 127,true) else if #TableMission <= 1 then for player,_ in pairs ( TableMission ) do if getPlayerTable (player, TableMission) then outputChatBox("Not Started Because Of Lack Players ", root, 0, 150, 255,true) if maps == 1 then maps == 2 elseif maps == 2 then maps == 1 end end end end end end,TMS,1) -- TMS معرفها , Edited February 9, 2017 by #_iMr.[E]coo Link to comment
' A F . Posted February 9, 2017 Share Posted February 9, 2017 كيف تسوي لوب وبعدين تحط else ؟ حط end . 1 Link to comment
Master_MTA Posted February 9, 2017 Share Posted February 9, 2017 بالنسبه ل else بتحولها تحقق عادي if Link to comment
Abdul KariM Posted February 9, 2017 Share Posted February 9, 2017 @Master_MTA لاتخبص الله يحفظك اللوب يحتاج ايند وماهو تحقق عشان تكمله Link to comment
Master_MTA Posted February 9, 2017 Share Posted February 9, 2017 Just now, Abdul KariM said: @Master_MTA لاتخبص الله يحفظك اللوب يحتاج ايند وماهو تحقق عشان تكمله ما قلا تحقق عشان يكمل اللوب اخوي؟ انا قلت تحقق بالنسبه للي كان مسوي على اساسه else بس بيخليها not? Link to comment
Abdul KariM Posted February 9, 2017 Share Posted February 9, 2017 شوف كوده انت وراجع ردك Link to comment
Master_MTA Posted February 9, 2017 Share Posted February 9, 2017 Just now, Abdul KariM said: شوف كوده انت وراجع ردك اعذرني ما انتبهت انه مسوي else للوب ذذ حسبته تحقق +_+ 1 Link to comment
!#NssoR_) Posted February 9, 2017 Share Posted February 9, 2017 function StartTheMission() TimerMission = setTimer(function() if #TableMission <= 1 then for player,_ in pairs ( TableMission ) do if getPlayerTable (player, TableMission) then outputChatBox("Not Started Because Of Lack Players ", root, 0, 150, 255,true) if ( maps == 1 ) then maps = 2 elseif ( maps == 2 ) then maps = 1 end end end else outputChatBox( "لقد بدات المهمة ", root, 255, 170, 127,true) end end,TMS,1) end Link to comment
^iiEcoo'x_) Posted February 9, 2017 Author Share Posted February 9, 2017 7 hours ago, !#NssoR_) said: function StartTheMission() TimerMission = setTimer(function() if #TableMission <= 1 then for player,_ in pairs ( TableMission ) do if getPlayerTable (player, TableMission) then outputChatBox("Not Started Because Of Lack Players ", root, 0, 150, 255,true) if ( maps == 1 ) then maps = 2 elseif ( maps == 2 ) then maps = 1 end end end else outputChatBox( "لقد بدات المهمة ", root, 255, 170, 127,true) end end,TMS,1) end شكراً ! يعطيكـ العافية ! 1 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