[HELP]Camera moving - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Camera moving (
/showthread.php?tid=356197)
[HELP]Camera moving -
Dusan01 - 02.07.2012
How to i set to camera move on player connect from this pos
Код:
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid, 933.8553,-1.8161,1001.5469);
SetPlayerCameraLookAt(playerid, 931.2554,-1.8161,1001.5469);
to this pos
Код:
SetPlayerCameraPos(playerid,-1357.2039,-1385.4287,149.7791);
SetPlayerCameraLookAt(playerid,-1947.2719,-1429.3948,185.7761);
SetPlayerFacingAngle(playerid, 286.1379);
Re: [HELP]Camera moving -
ryan39 - 02.07.2012
Код:
SetPlayerCameraPos(playerid, 933.8553,-1.8161,1001.5469);
SetPlayerCameraLookAt(playerid, 931.2554,-1.8161,1001.5469);
InterpolateCameraPos(playerid, 933.8553,-1.8161,1001.5469,-1357.2039,-1385.4287,149.7791, time)