Can anyone help me whit that script ?
if (playerswimming) {
say2 You lost!;
setlevel2 osl.nw,30,30;
}
Can anyone help me whit that script ?
if (playerswimming) {
say2 You lost!;
setlevel2 osl.nw,30,30;
}
if(playerenters||timeout){
timeout=0.05;
timereverywhere;
if(playerswimming){
say2 You lose!;
setlevel2 osl.nw,30,30;
}
}
Surely, Tricxta will appear and make a more efficient version of this.
I think timereverywhere has to go before the timeout. If I am thinking correctly, the way you have it the timereverywhere will only take effect for the leader, which is the opposite of what you are trying to accomplish. You wouldn’t notice this offline, but online it would be a problem.
it works thanks
Would you want to put timereverywhere inside the loop?
I wasn’t asking you.
the problem you were having is the check . it would only check once, if you do a regular timeout it will check if they are swimming when ever the timeout happens .
[QUOTE=The Mollusk;95161]I think timereverywhere has to go before the timeout. If I am thinking correctly, the way you have it the timereverywhere will only take effect for the leader, which is the opposite of what you are trying to accomplish. You wouldn’t notice this offline, but online it would be a problem.[/QUOTE]
Oh snap. Didn’t even read your post. You only need to call timereverywhere once. The way he has it will call timereverywhere every time a player enters and every iteration of the loop, which works but makes the script unnecessarily long.
I don’t see a difference in the time it takes. Your point?
I already made a point, but you get to write your scripts any way you want.
So much for trying to be helpful around here, i suppose.
Rofl. Don’t let me bring you down. I’m just Hosler.