MrKAREEM Posted February 4, 2018 Share Posted February 4, 2018 (edited) Hello guis I need help getting real time I want to get the time for example 5:30 then play sound and output chat u have a game or other and thank you in advance and please help me Edited February 4, 2018 by MrKAREEM Link to comment
NeXuS™ Posted February 4, 2018 Share Posted February 4, 2018 Use getRealTime. For the sound, you can use playSound, chat is outputChatBox. 1 Link to comment
MrKAREEM Posted February 4, 2018 Author Share Posted February 4, 2018 15 minutes ago, NeXuS™ said: Use getRealTime. For the sound, you can use playSound, chat is outputChatBox. i get this code but it doesnt work please help :\ i want the time 5:30 function etkinlik (player) local time = getRealTime () local hours = time.hour local minutes = time.minute if hours > 5 and 30 > minute then sound = playSound("MrKAREEM.mp3") outputChatBox ( "This is the time for your game !",player, 255, 0, 0, true ) end end Link to comment
NeXuS™ Posted February 4, 2018 Share Posted February 4, 2018 Use [ code] tags please. if hours == 5 and minute == 30 then 1 Link to comment
MrKAREEM Posted February 4, 2018 Author Share Posted February 4, 2018 1 minute ago, NeXuS™ said: Use [ code] tags please. if hours == 5 and minute == 30 then Thnx pro i forget put it , i check it now and it works 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