05.02.2017, 12:23
I use a textdraw to log in, he clicks on login/register then he will enter his details, after that he is supposed to spawn to his last location, but this happens:
http://imgur.com/a/Uh3cl (the image with the guy in the air)
If the player will press SPAWN it will spawn him at his last location, I want this to happen automatically without him pressing SPAWN..
It worked before, not sure whats wrong now..
I use this after the player logs in
http://imgur.com/a/Uh3cl (the image with the guy in the air)
If the player will press SPAWN it will spawn him at his last location, I want this to happen automatically without him pressing SPAWN..
It worked before, not sure whats wrong now..I use this after the player logs in
PHP код:
for(new i = 0; i < 26; i++)
{
PlayerTextDrawDestroy(playerid, loginscreen[i][playerid]);
}
SetCameraBehindPlayer(playerid);
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, 0);
CancelSelectTextDraw(playerid);

