ChangeRoom vs SetAsPlayer

Started by Sledgy, Wed 20/05/2020 23:25:09

Previous topic - Next topic

Sledgy

I have several characters in some rooms. And they move in rooms and teleport to another rooms. And player can choose any character (SetAsPlayer).

And sometimes there's error. Maybe, when character in teleport mode (ChangeRoom), he can't to set as player? And game is out after that error.



The same error was about SetAsPlayer.

Cassiebsg

The error says it already. You have issued a RestartGame, so the game will Restart when the function ends. And therefor you can't change room or change to another player at the end of the function either.
So find out why you have issued a RestartGame and fix it.
There are those who believe that life here began out there...

SMF spam blocked by CleanTalk