Onplayerspawn Player Freeze Problem 0.3z r2 -
dreamboxxl - 21.04.2014
Hello,
since 0.3z and 0.3z r2, players losing complete keyboard control after using OnPlayerSpawn a few times.
Help is welcome.
Thank You
Greets
Re: Onplayerspawn Player Freeze Problem 0.3z r2 -
Rockyyy - 21.04.2014
Add this under on player spawn
Код:
TogglePlayerControllable(playerid, 1);
AW: Onplayerspawn Player Freeze Problem 0.3z r2 -
dreamboxxl - 21.04.2014
Hi, thank you , but players still losing keyboardcontrol.
Nothing has been changed, except the server updated to 0.3z r2.
Help appreciated.
Thank You
Re: Onplayerspawn Player Freeze Problem 0.3z r2 -
Rockyyy - 21.04.2014
you use any dialog after player get spawned like class dialog or whatever?
AW: Re: Onplayerspawn Player Freeze Problem 0.3z r2 -
dreamboxxl - 21.04.2014
No dialog. This happen the first time after 0.3z r2
Re : Onplayerspawn Player Freeze Problem 0.3z r2 -
Ramoboss - 21.04.2014
try TogglePlayerControllable, and if you use Clickable textdraws when a player spawn, try : CancelSelectTextDraw(playerid);
otherwise, past your OnPlayerSpawn here, so we can see where that damn error is x)
Re: Onplayerspawn Player Freeze Problem 0.3z r2 -
SkittlesAreFalling - 21.04.2014
I can confirm this issue, I'm getting the same thing.
OnPlayerConnect
// TogglePlayerSpectating(playerid, 1);
Login Dialog
// SetSpawnInfo(playerid, 0, skin, posx, posy, posz, posa, 0, 0, 0, 0, 0)
// SpawnPlayer(playerid)
OnPlayerSpawn
// TogglePlayerControllable(playerid, 1)
Works in 0.3z R1-2 and older versions but not 0.3z R2-2
Spawns, but are not able to move.
Re : Onplayerspawn Player Freeze Problem 0.3z r2 -
Ramoboss - 21.04.2014
SpawnPlayer(playerid); should go to OnPlayerSpawn i think
Re: Onplayerspawn Player Freeze Problem 0.3z r2 -
SkittlesAreFalling - 21.04.2014
Does not work, just tested.
Quote:
This forum requires that you wait 120 seconds between posts. Please try again in 35 seconds.
|
Re : Onplayerspawn Player Freeze Problem 0.3z r2 -
Ramoboss - 21.04.2014
Try to put this in OnPlayerSpawn :
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, 0);
TogglePlayerControllable(playerid, 1);