11.09.2009, 03:12
My gamemode will spawn the player without going through class selection, after they are put in spectate mode then TogglePlayerSpectating(playerid, 0); to move camera before csel.
If SetSpawnInfo is not used they should go to class selection but they only do half the time randomly and Kye has reviewed the code it is not a gamemode problem most likely.
So my suggestion is a function to unset a players spawn info like UnsetSpawnInfo(playerid)
Also, If I do ForceClassSelection(playerid) after TogglePlayerSpectating(playerid, 0) they always go to class selection but after their first death on server they go back to class selection. I think this can be considered a bug. If you do ForceClassSelection(playerid) and a player chooses a class in csel they should not go back more than once.
If SetSpawnInfo is not used they should go to class selection but they only do half the time randomly and Kye has reviewed the code it is not a gamemode problem most likely.
So my suggestion is a function to unset a players spawn info like UnsetSpawnInfo(playerid)
Also, If I do ForceClassSelection(playerid) after TogglePlayerSpectating(playerid, 0) they always go to class selection but after their first death on server they go back to class selection. I think this can be considered a bug. If you do ForceClassSelection(playerid) and a player chooses a class in csel they should not go back more than once.