Jump to content
  • 0

Question

Posted

Hello guys..

I want to make on "EnterWorld.java" method with "server time"

like this:

if (serverTime > 12:00 && serverTime < 14:00)
{
   player.teleToLocation(X, Y, Z, 0);
}
else if (serverTime > 14:00 && serverTime < 16:00)
{
   player.teleToLocation(X2, Y2, Z2, 0);
}
else....

So when a player Join to be auto teleport.

 

How can i do that ? :)

Thanks.

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...