Jump to content

[HELP]Real time Script


MrKAREEM

Recommended Posts

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

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...