Quote:
Originally Posted by Televangelist
Ooh, nice!
So, just so I'm clear:
1. players.size refers to the number of players in the level, not the overall server?
2. The larger plan I have for the 'adventuring time limit' that can be expanded via power-ups (in the same way your heart meter, say, can be expanded in a Zelda game over time) is feasible as well?
Thanks!
|
There's
players and
allplayers. The first always refers to the players in the level the code is executed in. The latter refers to all players on the server. Also, your "larger plan" should be possible as well. I suggest you store the time it can be extended in some clientr.variables (like Tricxta said), then just wait the specific time when all players left until you reset your stuff.