Posts: 61
Threads: 17
Joined: Nov 2011
Reputation:
0
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
Posts: 61
Threads: 17
Joined: Nov 2011
Reputation:
0
Hi, thank you , but players still losing keyboardcontrol.
Nothing has been changed, except the server updated to 0.3z r2.
Help appreciated.
Thank You
Posts: 181
Threads: 34
Joined: Aug 2013
Reputation:
0
you use any dialog after player get spawned like class dialog or whatever?
Posts: 61
Threads: 17
Joined: Nov 2011
Reputation:
0
No dialog. This happen the first time after 0.3z r2
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
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)
Posts: 155
Threads: 10
Joined: Oct 2013
Reputation:
0
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.
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
SpawnPlayer(playerid); should go to OnPlayerSpawn i think
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
Try to put this in OnPlayerSpawn :
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, 0);
TogglePlayerControllable(playerid, 1);