+Source|> Posted June 28, 2018 Share Posted June 28, 2018 وش المشكله هنا addCommandHandler("tst", function( ) timer = setTimer( function() end, 100000, 1 ) setGameType( timer ) end ) Link to comment
Rakan# Posted June 28, 2018 Share Posted June 28, 2018 setGameType لازم سترنق انت حاطه تايمر . مايجي ! Link to comment
Doffy Posted June 28, 2018 Share Posted June 28, 2018 3 minutes ago, Rakan# said: setGameType لازم سترنق انت حاطه تايمر . مايجي ! خش السيرفر 1 Link to comment
Rakan# Posted June 28, 2018 Share Posted June 28, 2018 Just now, #DesTroeyR said: خش السيرفر لاتتكلم خارج الموضوع كان بإمكانك تكلمني خاص . + مايمدي اخش الحين Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 6 minutes ago, N3xT said: وش تبي تسوي بالظبط ابي اسوي تايمر برا السيرفر يعد عد تنازلي زي فكرة سيرفر طاره Link to comment
N3xT Posted June 28, 2018 Share Posted June 28, 2018 (edited) addCommandHandler("tst", function( ) local i = 60 timer = setTimer( function() i = i - 1 setGameType( tostring ( i ) ) end, 1000, 0 ) end ) Edited June 28, 2018 by N3xT 1 Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 3 minutes ago, N3xT said: addCommandHandler("tst", function( ) local i = 60 timer = setTimer( function() local countdown = i = i - 1 setGameType( tostring ( countdown ) ) end, 1000, 1 ) end ) ما اشتغل 3 minutes ago, N3xT said: addCommandHandler("tst", function( ) local i = 60 timer = setTimer( function() local countdown = i = i - 1 setGameType( tostring ( countdown ) ) end, 1000, 1 ) end ) ما اشتغل يب عدلت الكود بشوفه Link to comment
N3xT Posted June 28, 2018 Share Posted June 28, 2018 عدلت عالكود انت اخذته قبل التعديل, خذه الحين 1 Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 Just now, N3xT said: عدلت عالكود انت اخذته قبل التعديل, خذه الحين كفو تسلم يدك اشتغل مشكور Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 2 minutes ago, N3xT said: الله يسلمك, حياك مساعده ثانيه مغلش لو مثلا سويت i = 600000 ابيه يجي برا Hours : Minute : seconds Link to comment
N3xT Posted June 28, 2018 Share Posted June 28, 2018 عاد ذي انت سويها لازم تسوي لها حسابات والخ Link to comment
#Sn[i]pêŘ Posted June 28, 2018 Share Posted June 28, 2018 addEventHandler ( "onClientRender", root, function ( ) if ( isTimer ( myTimer ) ) then local milliseconds = getTimerDetails ( myTimer ) dxDrawText ( milliseconds / 1000, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) end addEventHandler ( "onClientRender", root, function ( ) if ( isTimer ( myTimer ) ) then local milliseconds = getTimerDetails ( myTimer ) dxDrawText ( milliseconds / 1000, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) end تقصد هيك ؟ 10 minutes ago, +Source|> said: مساعده ثانيه مغلش لو مثلا سويت i = 600000 ابيه يجي برا Hours : Minute : seconds انت عم تحاول تصنع جيم مود تكتيك عارفك من اكوادك 1 Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 1 minute ago, Mr_SnipeR<3 said: addEventHandler ( "onClientRender", root, function ( ) if ( isTimer ( myTimer ) ) then local milliseconds = getTimerDetails ( myTimer ) dxDrawText ( milliseconds / 1000, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) end addEventHandler ( "onClientRender", root, function ( ) if ( isTimer ( myTimer ) ) then local milliseconds = getTimerDetails ( myTimer ) dxDrawText ( milliseconds / 1000, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) end تقصد هيك ؟ انت عم تحاول تصنع جيم مود تكتيك عارفك من اكوادك لا ابي اسوي رساله تجي برا Link to comment
Ram, Posted June 28, 2018 Share Posted June 28, 2018 (edited) addCommandHandler("tst", function(commander) h,m,s = 2,60,60 timer = setTimer( function() local seconds = s = s - 1 local hours = h if ( seconds < 1 ) then s = 60 local minutes = m = m - 1 end local minutes = m if ( minutes == 0 ) then if ( hours ~= 0 ) then m = 60 end end if ( h == 0 and m == 0 and s == 0 ) then setGameType( "إنتهى العد التنازلي #" ) return timer = nil end setGameType(tostring(h)..":"..tostring(m)":"..tostring(s)":- العد التنازلي") end, 1000, 0 ) end ) ملاحظة , انا سويتها فوق ثلاث ساعات ,. يعني ساعتين و 60 دقيقة Edited June 28, 2018 by AbU - W6N Link to comment
SAM!! Posted June 28, 2018 Share Posted June 28, 2018 AbU - W6N عندك مشكلة بالسطر رقم #5 Link to comment
Ram, Posted June 28, 2018 Share Posted June 28, 2018 20 minutes ago, SAM!! said: AbU - W6N عندك مشكلة بالسطر رقم #5 يب بس يمسح علامات الـ = وتضبط معه addCommandHandler("tst", function(commander) h,m,s = 2,60,60 timer = setTimer( function() local seconds = s - 1 local hours = h if ( seconds < 1 ) then s = 60 local minutes = m - 1 end local minutes = m if ( minutes == 0 ) then if ( hours ~= 0 ) then m = 60 end end if ( h == 0 and m == 0 and s == 0 ) then setGameType( "إنتهى العد التنازلي #" ) return timer = nil end setGameType(tostring(h)..":"..tostring(m)":"..tostring(s)":- العد التنازلي") end, 1000, 0 ) end ) * 1 Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 22 minutes ago, AbU - W6N said: يب بس يمسح علامات الـ = وتضبط معه addCommandHandler("tst", function(commander) h,m,s = 2,60,60 timer = setTimer( function() local seconds = s - 1 local hours = h if ( seconds < 1 ) then s = 60 local minutes = m - 1 end local minutes = m if ( minutes == 0 ) then if ( hours ~= 0 ) then m = 60 end end if ( h == 0 and m == 0 and s == 0 ) then setGameType( "إنتهى العد التنازلي #" ) return timer = nil end setGameType(tostring(h)..":"..tostring(m)":"..tostring(s)":- العد التنازلي") end, 1000, 0 ) end ) * ما اشتغل Link to comment
Ram, Posted June 28, 2018 Share Posted June 28, 2018 Just now, +Source|> said: ما اشتغل ديبق؟ Link to comment
SAM!! Posted June 28, 2018 Share Posted June 28, 2018 الديبق يبي قوي لانهاء if في السطر 17 Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 Just now, AbU - W6N said: ديبق؟ نوثنق Link to comment
Ram, Posted June 28, 2018 Share Posted June 28, 2018 1 minute ago, SAM!! said: الديبق يبي قوي لانهاء if في السطر 17 قوي ؟ , مافي مشكلة بالكود ومافي شي بالدي بق المشكله منه . + addCommandHandler("tst", function(commander) h,m,s = 2,60,60 timer = setTimer( function() local seconds = s - 1 local hours = h if ( seconds < 1 ) then s = 60 m = m - 1 end local minutes = m if ( minutes == 0 ) then if ( hours ~= 0 ) then m = 60 end end if ( h == 0 and m == 0 and s == 0 ) then setGameType( "إنتهى العد التنازلي #" ) return timer = nil end setGameType(tostring(h)..":"..tostring(m)":"..tostring(s)":- العد التنازلي") end, 1000, 0 ) end ) Edit, Link to comment
+Source|> Posted June 28, 2018 Author Share Posted June 28, 2018 2 minutes ago, AbU - W6N said: قوي ؟ , مافي مشكلة بالكود ومافي شي بالدي بق المشكله منه . جربته مليون مره ما يجي شي برا سيرفر Link to comment
Ram, Posted June 28, 2018 Share Posted June 28, 2018 Just now, +Source|> said: جربته مليون مره ما يجي شي برا سيرفر حاط المود بقروب الادمن؟ + حط اخر كود حطيته لك وحطه بقروب الادمن ’, ولا تنسى تسوي ريفرش 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