Jump to content

اصلاح كود


Recommended Posts

Posted
  
function getTimeLeft(Timer) 
local d = math.floor(Timer/86400) 
local h = math.floor(Timer/3600) 
local m = math.floor(Timer/60) 
local s = math.floor((Timer-m*60)) 
return ""..d.." Day "..h.." Hours "..m.." Minute and "..s.." Second" 
end 
  

شو الخطاء هون انا لما اعطيه ساعة تجي في الدقاق 60 و في الساعات 1 ساعة

Posted

اذا كنت تستخدم امر باف8 اكتب كذا

0.60

او

0,60

يعني تجيه 60 دقيقه وساعات صفر

هذا الي فهمته

ولو توضح اكثر وش هو المود او وش ضيفته افضل

Posted

انا ابيه الكود هذ بليوم و الساعة و الدقيقة و الثانية

الدقيقة و الثانية تمام شغلين بس الساعة و الايوم مو شغلين

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...