03.04.2016, 17:27
Hey all,
I have this code under "Onplayerconnect"
But the camera gets set to it's place with a major delay, because the Dialog to login shows after the camera's set scriptwise but IG the dialog is even faster and I can already be logged in before the camera's position is set.
How can I make it to get an instant camera when it connects?
I have this code under "Onplayerconnect"
pawn Код:
TogglePlayerSpectating(playerid, true);
SetPlayerCameraPos(playerid, 1415.0320, -1749.1689, 29.9612);
SetPlayerCameraLookAt(playerid, 1415.7621, -1748.4803, 29.7203);
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
How can I make it to get an instant camera when it connects?