Jump to content

getRealTime - تصحيح كود


Recommended Posts

Posted

سلام عليكم

ممكن تصحيح لهادا الكود

ابي يجيب لي كام باقي والساعة تيجي 10 

addCommandHandler("tim",
	function(source)		
		local Realtime = getRealTime()
		local year = Realtime.year + 1900
		local month = Realtime.month + 1
		local day = Realtime.monthday
		local hour = Realtime.hour -12
		local Min = Realtime.minute
		local sec = Realtime.second
		outputChatBox("Time Now : ["..year.."/"..month.."|"..hour..":"..Min.."]",source,0,255,0,true)
		outputChatBox("باقي علي الساعة 10 : ".. hour-10 ..":"..Min..":"..sec.."",source,0,255,0,true)
	end
)

 

330xum0.jpg

p_862d3zvf1.png

* تم آلآفتتآح مرة اخري , حياكم الله *

ip : * mtasa://145.239.212.62:22003 *

330xum0.jpg

Posted
addCommandHandler("tim",
	function()	
		local Realtime = getRealTime()
		local year = Realtime.year + 1900
		local month = Realtime.month + 1
		local day = Realtime.monthday
		local hour = Realtime.hour -12
		local Min = Realtime.minute
		local sec = Realtime.second
		outputChatBox("Time Now : ["..year.."/"..month.."|"..hour..":"..Min.."]",source,0,255,0,true)
		outputChatBox("باقي علي الساعة 10 : ".. hour-10 ..":"..Min..":"..sec.."",source,0,255,0,true)
	end
)

 

Posted
1 hour ago, DABL said:

addCommandHandler("tim",
	function()	
		local Realtime = getRealTime()
		local year = Realtime.year + 1900
		local month = Realtime.month + 1
		local day = Realtime.monthday
		local hour = Realtime.hour -12
		local Min = Realtime.minute
		local sec = Realtime.second
		outputChatBox("Time Now : ["..year.."/"..month.."|"..hour..":"..Min.."]",source,0,255,0,true)
		outputChatBox("باقي علي الساعة 10 : ".. hour-10 ..":"..Min..":"..sec.."",source,0,255,0,true)
	end
)

 

 

  • Haha 1

                                                         هل ساعدتك في شئ ؟؟؟؟

                                                Mmpe7Jm.gif

                                                   latest?cb=20170707023932                 

                                            KillerX#9078

Posted
5 minutes ago, KillerX said:

 

أها ما قريت الموضوع ، احسبه قال ما تظهر ض1 .

 

Posted
2 hours ago, DABL said:

addCommandHandler("tim",
	function()	
		local Realtime = getRealTime()
		local year = Realtime.year + 1900
		local month = Realtime.month + 1
		local day = Realtime.monthday
		local hour = Realtime.hour -12
		local Min = Realtime.minute
		local sec = Realtime.second
		outputChatBox("Time Now : ["..year.."/"..month.."|"..hour..":"..Min.."]",source,0,255,0,true)
		outputChatBox("باقي علي الساعة 10 : ".. hour-10 ..":"..Min..":"..sec.."",source,0,255,0,true)
	end
)

 

نفس كودي ض1

330xum0.jpg

p_862d3zvf1.png

* تم آلآفتتآح مرة اخري , حياكم الله *

ip : * mtasa://145.239.212.62:22003 *

330xum0.jpg

  • N3xT locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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