InterpolateCameraPos not work - 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: InterpolateCameraPos not work (
/showthread.php?tid=623592)
-
TYDS - 02.12.2016
Код:
InterpolateCameraPos(playerid, 2047.935913, 1689.950805, 10.245789, 2064.971191, 777.521545, 79.280418, 25000);
InterpolateCameraLookAt(playerid, 2047.719726, 1685.026000, 11.082003, 2065.255126, 782.465698, 78.591529, 25000);
i put in onplayerconnect but it no work ??
any one
Re: InterpolateCameraPos not work -
silenthill - 02.12.2016
Quote:
Originally Posted by TYDS
any one
|
try OnPlayerRequestClass
Re: InterpolateCameraPos not work -
TYDS - 02.12.2016
Quote:
Originally Posted by silenthill
try OnPlayerRequestClass
|
still not work
Re: InterpolateCameraPos not work -
silenthill - 02.12.2016
Quote:
Originally Posted by TYDS
still not work
|
PHP код:
InterpolateCameraPos(playerid, 2047.935913, 1689.950805, 10.245789, 2064.971191, 777.521545, 79.280418, 25000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid, 2047.719726, 1685.026000, 11.082003, 2065.255126, 782.465698, 78.591529, 25000,CAMERA_CUT);
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
cut The style of the change.
Example my code:
PHP код:
InterpolateCameraPos(playerid, 2130.395996, 1676.915283, 18.651359, 2012.016723, 1670.242797, 18.326320, 6000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid, 2125.633544, 1676.182495, 17.316192, 2007.032714, 1669.862792, 18.205234, 6000,CAMERA_CUT);
Re: InterpolateCameraPos not work -
Threshold - 02.12.2016
Don't call it directly under OnPlayerConnect. Put a delay on it, like maybe 4 or 5 seconds.
Re: InterpolateCameraPos not work -
TYDS - 02.12.2016
oh and how can i delete all car on server but only delete the cars uninhabited on