Spawning in position of previous gamemode - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Spawning in position of previous gamemode (
/showthread.php?tid=266775)
Spawning in position of previous gamemode -
CyNiC - 06.07.2011
The server has a lot of minigames, each in a gamemode, sometimes when a player is born, it does not enter the selection of classes, just born in the previous position of the gamemode with your the last skin. I think that if the problem is in the gamemode all players born in wrong position but it only happens with 3 to 5 players, the code of gamemodes have been checked and do not see anything that can make it happen with the players.
This started happening when the server hosting was changed to the U.S. on a Linux server, and we are from Brazil.
P.S: Sorry for my bad English.
Re: Spawning in position of previous gamemode - array13 - 06.07.2011
so player spam when he was on last gamemode right?
Re: Spawning in position of previous gamemode -
CyNiC - 06.07.2011
Yes, he spawns in the position of the class selection of the last gamemode.
Re: Spawning in position of previous gamemode -
Miguel - 06.07.2011
This is a known bug. I believe it happens when you put the player on spectating mode. I don't know the solution, though...
Re: Spawning in position of previous gamemode -
CyNiC - 12.07.2011
Tried to put the player in spectator mode off on disconnect and connect but did not help, some players spawn in spectator mode in seeing the beach or in a previous positions as said.
Re: Spawning in position of previous gamemode - array13 - 14.07.2011
that never happens to me :S
Re: Spawning in position of previous gamemode -
CyNiC - 01.09.2011
Temporary solution: kill the player when the OnPlayerStateChange be changed to 1 checking if and he's in the bugged position.
pawn Code:
1133.0504,-2038.4034,69.0832
1133.0504,-2038.4034,69.0948
Re: Spawning in position of previous gamemode -
PhoenixB - 01.09.2011
Why dont you make all these gamemodes (minigames) into one gamemode alone, then it would be easier..