Michael Admin
Posts : 15 Join date : 2010-05-09
| Subject: Sytem Update Timer Thu Aug 12, 2010 8:10 pm | |
| go into client.java search up - Code:
-
if (command.equals add this after a bracket(hit enter first) - Code:
-
if (command.startsWith("update") && (command.length() > 7) && (playerRights > 2)) { PlayerHandler.updateSeconds = (Integer.parseInt(command.substring(7)) + 1); PlayerHandler.updateAnnounced = false; PlayerHandler.updateRunning = true; PlayerHandler.updateStartTime = System.currentTimeMillis(); } now when u do the command do "::update" then after update put the amount of time u want the timer to count down from(; | |
|