Server Time System
#1

I want to make an RPG game by myself (Not using Instant GM such as Los Angeles Life, cuz it's confusing me ). Does anybody knows, how to make a time system, so every about 2 minutes, the hour will changed, and when it's night, all player will see it's dark. And, when player type /time, they will see current time.

I tried to search in Wiki an i found SetPlayerTime, SetWorldTime and GetPlayerTime, but i still dunno how to use them like what i said above. Please help
Reply
#2

Add in OnGameModeInit

SetWorldTime(00);

and your done
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)