Garry's Mod

Garry's Mod

Not enough ratings
Simple Clock Script
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
4.652 KB
3 Aug, 2023 @ 10:38am
27 Mar, 2024 @ 10:42am
2 Change Notes ( view )

Subscribe to download
Simple Clock Script

In 2 collections by Szpieg2000
Szpieg's GMod Maps & Addons
21 items
Every single of my addons [1st of april 2024]
677 items
Description
Simple clock script
1 minute on clock = 1 second, made for roleplays, does not work with your pcs internal clock.
as the title says it is simple. Alright for survival gamemodes and RPs. It features a standard time clock (1-12 AM/PM),
alarm sound when it hits 1 AM, day at night cycle (changes the skybox) and a day counter.

This contains a couple commands you can use:
clock_hour_set (number below 13) - sets the hour
clock_minute_set (number below 61) - sets the minute
clock_day_set (number) - sets the day
clock_alarm_sound (sound file) - This is what plays everytime it becomes 1 AM (default: pl_hoodoo/alarm_clock_alarm_3.wav)