17.01.2014, 04:33
This bug has been usual for the past couple of RC and had been inherited with the Spawn( playerid ); bug (0.3d, or below) during Class Selection.
Step-by-step:
1. Connect the player to the server and TogglePlayerSpectating( playerid, 1 );
2. Place a couple dialogs and whatnot, one especially to spawn the player.
3. In the dialog to spawn the player, instead of SpawnPlayer( playerid ); use TogglePlayerSpectating( playerid, 0 );
4. You just randomly get kicked.
It's just like the same concept in 0.3d I believe, where you could only use SetSpawnInfo instead of SpawnPlayer.
Would be great if it is fixed because calling OnPlayerSpawn twice does bother me, and most likely some other people.
Step-by-step:
1. Connect the player to the server and TogglePlayerSpectating( playerid, 1 );
2. Place a couple dialogs and whatnot, one especially to spawn the player.
3. In the dialog to spawn the player, instead of SpawnPlayer( playerid ); use TogglePlayerSpectating( playerid, 0 );
4. You just randomly get kicked.
It's just like the same concept in 0.3d I believe, where you could only use SetSpawnInfo instead of SpawnPlayer.
Would be great if it is fixed because calling OnPlayerSpawn twice does bother me, and most likely some other people.