• Making things happen at a specific Date and Time
    3 replies, posted
I'm trying to make a Crowbar Crazy mode for my Gamemode that occurs on the upload Date and Time of "Gordon Freeman goes Creowbar Crazy". Are there any functions in Fretta or anything else?
[b][url=http://wiki.garrysmod.com/?title=Os.date]Os.date [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[QUOTE=ralle105;24645172][b][url=http://wiki.garrysmod.com/?title=Os.date]Os.date [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b][/QUOTE] How would I do, os.Date = 23rd September?
[QUOTE=Adam.GameDev;24645342]How would I do, os.Date = 23rd September?[/QUOTE] [lua] if os.date("%d%m") == "2309" then //23rd of september :O end [/lua] Something like that I'd think (I've never used it so I'm trusting the wiki)
Sorry, you need to Log In to post a reply to this thread.