11.09.2017, 13:41
In the video you provided, the
isn't executed. I am not sure this is the part of the code involved into the matter. Also this code
is a bit messed up, as you randomly spawn the player.
Plus, if you use SpawnPlayer the camera should be reset behind the player without using SetCameraBehindPlayer.
Код:
SendClientMessage(playerid, -1, "Nhan nut Spawn de bat dau cau chuyen!");
Код:
SetCameraBehindPlayer(playerid); SendClientMessage(playerid, -1, "Nhan nut Spawn de bat dau cau chuyen!"); CancelSelectTextDraw(playerid); SpawnPlayer(playerid); SetPlayerPos(playerid, -2778.8638,-626.3374,504.9848); SetPlayerFacingAngle( playerid, 270 ); SetPlayerCheckpoint(playerid, -2507.6191,-613.1049,132.5625, 3.0);
Plus, if you use SpawnPlayer the camera should be reset behind the player without using SetCameraBehindPlayer.