Bo7meeeD Posted December 17, 2012 Posted December 17, 2012 السلام عليكم ورححمة الله شباب ابغى كود لما واحد يكتب في الشات مثلا TIMER يطلع له كم باقي وقت على التايمر !! وشككرا.....
AhmadQTR Posted December 17, 2012 Posted December 17, 2012 getTimerDetails Nobody is perfect , I'm nobody. Skype : ahmad.nasser37
Bo7meeeD Posted December 17, 2012 Author Posted December 17, 2012 getTimerDetails ابغى مثال عليها لاهنت
فتى تبوك Posted December 17, 2012 Posted December 17, 2012 اشم ريحة بي كول اسمي القديم sultanalbalawi
abu5lf Posted December 17, 2012 Posted December 17, 2012 getTimerDetails ابغى مثال عليها لاهنت اضغط عليه وتلقى مثال ╔═╦╦╦╗╔╦═╦═╦═╦═╦╦╦╦╦╦╦═╦╦╦╦╗ ║║║║║╠╝║║╚╣║║║║║║║║║║║║║║║║║ ║║║║║╚╦╦═╦╦╦╦╣║║║║║║║║║║║║║║ ║║║║╠═╣╠╝╔══╝║║║║║╟╢║║║║║╟╢║ ╚╩══╩══╩═╩═══╩╩══╩╩═╩╩╩═╩╩═╝ «سبحانك اللهم وبحمدك أشهد أن لا إله إلا أنت أستغفرك وأتوب إليك» M7mdAl7arthy : لتواصل سكايب
Bo7meeeD Posted December 17, 2012 Author Posted December 17, 2012 getTimerDetails ابغى مثال عليها لاهنت اضغط عليه وتلقى مثال ابغى مثال واضضح ذا مو واضح
فتى تبوك Posted December 17, 2012 Posted December 17, 2012 اشم ريحة بي كول نضحكك ؟ اعقب وش تبي انت اقطع واخص احد هرجك انت؟ اسمي القديم sultanalbalawi
Bo7meeeD Posted December 17, 2012 Author Posted December 17, 2012 اشم ريحة بي كول نضحكك ؟ اعقب وش تبي انت اقطع واخص احد هرجك انت؟ توككل لاتسوي مشاككل
Sora Posted December 17, 2012 Posted December 17, 2012 theTimer = setTimer(function() end, 1000, 10) -- تايمر مابيسوي شيء function timerDetails() remaining, executesRemaining, totalExecutes = getTimerDetails(theTimer) -- اخذ تفاصيل التايمر -- كم تبقى ,التكرارات المتبقيه, عدد التكرارات الكلي if (remaining and executesRemaining and totalExecutes) then outputChatBox("الوقت المتبقي في هذه الثانيه: "..remaining.." التكرارات المتبقيه: "..executesRemaining.." التكرارت الكلي: "..totalExecutes) else outputChatBox("المؤقت لم يعد موجوداً") end end addCommandHandler("timerdetails", timerDetails) [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 theTimer = setTimer(function() end, 1000, 10) -- تايمر مابيسوي شيء function timerDetails() remaining, executesRemaining, totalExecutes = getTimerDetails(theTimer) -- اخذ تفاصيل التايمر -- كم تبقى ,التكرارات المتبقيه, عدد التكرارات الكلي if (remaining and executesRemaining and totalExecutes) then outputChatBox("الوقت المتبقي في هذه الثانيه: "..remaining.." التكرارات المتبقيه: "..executesRemaining.." التكرارت الكلي: "..totalExecutes) else outputChatBox("المؤقت لم يعد موجوداً") end end addCommandHandler("timerdetails", timerDetails) مشكؤوؤور والله انكك شنب
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 طيب ي شباب الوقت يطلع كذا الثانية = 1000 انا ابغى الثانية تكون = 1 ككيف؟
==>ҭᾄlᾄl Posted December 18, 2012 Posted December 18, 2012 (edited) طيب ي شباب الوقت يطلع كذا الثانية = 1000 انا ابغى الثانية تكون = 1 ككيف؟ 1 * 1000 -- ثانية 2 * 1000 -- ثانيتن 3 * 1000 -- ثلاث ثواني Edited December 18, 2012 by Guest
Sora Posted December 18, 2012 Posted December 18, 2012 ههههههه جاك سبارو .. لول وش تبي تسوي بالضبط؟ .. تقدر تتاكد من عدد الثواني اذاكان 1000 , يصير المتغير 1 مثلاً seconds = 0 if remaining == 1000 then seconds = 1 end [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Sora Posted December 18, 2012 Posted December 18, 2012 .. ليه حذفت الرد اانا اقصد اذا كان مثلاً الوقت اللي حطيته انت 600000 -- تسوي متغير seconds = 0 -- تتاكد ما اذا كان الوقت المتبقي 600000 if remaining == 600000 then seconds = 600 end -- تحط قيمة 600 للثواني [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 ههههههه جاك سبارو .. لولوش تبي تسوي بالضبط؟ .. تقدر تتاكد من عدد الثواني اذاكان 1000 , يصير المتغير 1 مثلاً seconds = 0 if remaining == 1000 then seconds = 1 end ضض1 مشكوؤوؤر شباب طيب ابغى ثواني ودقائق كيف ؟ وابغاه يكون ملون حاولت الونه ماضبط outputChatBox(" 7FFF00 timer : "..remaining.." 7FFF00 seconds", source, 255, 255, 255, true) وشكككرا....
Sora Posted December 18, 2012 Posted December 18, 2012 وش حاط انت بالفنكشن الي ربطت فيها + تبي الكلام يطلع للكل ولا للاعب الي كتب الامر؟ addCommandHandler ؟ [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 وش حاط انت بالفنكشن الي ربطت فيها + تبي الكلام يطلع للكل ولا للاعب الي كتب الامر؟addCommandHandler ؟ ابغى للاعب اللي كتب الامر وهذا الكود كامل timer = setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 20000, 1 ) addCommandHandler("timer", function ( ) remaining = getTimerDetails(timer) seconds = remaining * 1000 outputChatBox(" 7FFF00 timer : "..remaining.." 7FFF00 seconds", root, 255, 255, 255, true) end )
Sora Posted December 18, 2012 Posted December 18, 2012 (edited) وش حاط انت بالفنكشن الي ربطت فيها + تبي الكلام يطلع للكل ولا للاعب الي كتب الامر؟addCommandHandler ؟ ابغى للاعب اللي كتب الامر وهذا الكود كامل timer = setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 20000, 1 ) addCommandHandler("timer", function ( ) remaining = getTimerDetails(timer) seconds = remaining * 1000 outputChatBox(" 7FFF00 timer : "..remaining.." 7FFF00 seconds", root, 255, 255, 255, true) end ) timer = setTimer ( function() end, 20000, 1 ) addCommandHandler("timer", function (player) remaining = getTimerDetails(timer) seconds = remaining / 1000 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) end ) الوقت بالتايمر يكون بالملي ثانيه والملي ثانيه هي الثانيه مضروبه على 1000 والثانيه هي الملي ثانيه مقسومه على 1000 Edited December 18, 2012 by Guest [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 وش حاط انت بالفنكشن الي ربطت فيها + تبي الكلام يطلع للكل ولا للاعب الي كتب الامر؟addCommandHandler ؟ ابغى للاعب اللي كتب الامر وهذا الكود كامل timer = setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 20000, 1 ) addCommandHandler("timer", function ( ) remaining = getTimerDetails(timer) seconds = remaining * 1000 outputChatBox(" 7FFF00 timer : "..remaining.." 7FFF00 seconds", root, 255, 255, 255, true) end ) timer = setTimer ( function() end, 20000, 1 ) addCommandHandler("timer", function (player) remaining = getTimerDetails(timer) if remaining == 1000 then seconds = 1 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) elseif remaining == 2000 then seconds = 2 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) elseif remaining == 3000 then seconds = 3 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) elseif remaining == 4000 then seconds = 4 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) end end ) ماضبط وليه كررتها وش المقصد ؟
Sora Posted December 18, 2012 Posted December 18, 2012 اخوي عدلت ردي ووضحته شوف فوق ^ [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 اخوي عدلت ردي ووضحته شوف فوق ^ طيب ما تطلع بالالون ومشكووور تعبتك معي
Sora Posted December 18, 2012 Posted December 18, 2012 (edited) يب لانك ماحطيت # قبل كود اللون , والمشكله قبل كانت لانك كاتب source والsource مو محدد Edited December 18, 2012 by Guest [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
Bo7meeeD Posted December 18, 2012 Author Posted December 18, 2012 يب لانك ماحطيت # قبل كود اللون , والمشكله قبل كانت لانك كاتب source والsource مو محدد غلط وواضحح مشكؤؤر
Sora Posted December 18, 2012 Posted December 18, 2012 يب لانك ماحطيت # قبل كود اللون , والمشكله قبل كانت لانك كاتب source والsource مو محدد غلط وواضحح مشكؤؤر العفو هههههه ماركزت عليها بس كانت بالفعل من source لانك ماحددتها وايضاً لانك نسيت تحط # قبل كود اللون خخخخخخخخخخـ [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
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