MR.S3D Posted February 10, 2012 Share Posted February 10, 2012 (edited) [solved] Edited February 10, 2012 by Guest Link to comment
Evil-Cod3r Posted February 10, 2012 Share Posted February 10, 2012 Try This function startAzan() local time = getRealTime() local hours = time.hour local minutes = time.minute local seconds = time.second if (hours == 5 and minutes == 13 and seconds == 0) then playSound("azanfajr.mp3",false) outputChatBox ( "Azan AlFajer") elseif (hours == 12 and minutes == 08 and seconds == 0) then playSound("azan.mp3",false) outputChatBox ( "Azan AlDuhr") elseif (hours == 3 and minutes == 20 and seconds == 0) then playSound("azan.mp3",false) outputChatBox ( "Azan Alasr") elseif (hours == 5 and minutes == 43 and seconds == 0) then playSound("azan.mp3",false) outputChatBox ( "Azan AlMagreb") elseif (hours == 7 and minutes == 13 and seconds == 0) then playSound("azan.mp3",false) end end addEventHandler( "onClientResourceStart", getRootElement(), startAzan) 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