29.09.2016, 07:13
Hi. I don't understand your question.
If TogglePlayerSpectating is true and you try to call OnPlayerSpawn. No it will not work. You have to TogglePlayerSpectating to false.
If you're asking if TogglePlayerSpectating equal to true can be set by onplayerspawn. Yes that's true. But you'd have to set it to false somewhere in order for players to walk around.
If you're asking if TogglePlayerSpectating equal to false can be set onplayerspawn. I don't believe so. You have to set it to something else because when in spectating mode you can't select spawn. Therefore you can't spawn.
Hope this has answered your question.
If TogglePlayerSpectating is true and you try to call OnPlayerSpawn. No it will not work. You have to TogglePlayerSpectating to false.
If you're asking if TogglePlayerSpectating equal to true can be set by onplayerspawn. Yes that's true. But you'd have to set it to false somewhere in order for players to walk around.
If you're asking if TogglePlayerSpectating equal to false can be set onplayerspawn. I don't believe so. You have to set it to something else because when in spectating mode you can't select spawn. Therefore you can't spawn.
Hope this has answered your question.