void openVote() { if (votePoll != null) { return; } votePoll = new TimePoll(requiredVotesPercentage); MessageAllPlayers(string.Format("Night time skip vote is now open for {0} minute(s).", pollTimer)); MessageAllPlayers("Type <color=#FF2211>/voteday</color> now to skip night time."); lastPoll = Time.realtimeSinceStartup; }
void openVote() { if (votePoll != null) { return; } votePoll = new TimePoll(requiredVotesPercentage); MessageAllPlayers(string.Format(voteOpenTime, pollTimer)); MessageAllPlayers(voteNow); lastPoll = Time.realtimeSinceStartup; }
void closeVote() { votePoll = null; }
void openVote() { if (votePoll != null) return; votePoll = new TimePoll(requiredVotesPercentage); MessageAllPlayers(string.Format(voteOpenTime, pollTimer) ); MessageAllPlayers(voteNow); lastPoll = Time.realtimeSinceStartup; }
void closeVote() { votePoll = null; }