18.11.2014, 10:05
Well, I suppose there's nothing wrong with your code; it does what you ask it to do.
You've made so it will execute the function as soon as someone enters either enter CP or exit one; which will cause you exiting whatever instantly as you enter.
You might want to do /enter-/exit commands.
Or make a timer to set that a variable that the user has just entered/exited and will clear it after X seconds. (I'd suggest /enter /exit tho)
Quote:
|
it will be automatically do enter-exit loop. |
You might want to do /enter-/exit commands.
Or make a timer to set that a variable that the user has just entered/exited and will clear it after X seconds. (I'd suggest /enter /exit tho)

