InterpolateCameraPos not work
#1

Код:
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
Reply
#2

Quote:
Originally Posted by TYDS
Посмотреть сообщение
any one
try OnPlayerRequestClass
Reply
#3

Quote:
Originally Posted by silenthill
Посмотреть сообщение
try OnPlayerRequestClass
still not work
Reply
#4

Quote:
Originally Posted by TYDS
Посмотреть сообщение
still not work
PHP код:
InterpolateCameraPos(playerid2047.9359131689.95080510.2457892064.971191777.52154579.28041825000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid2047.7197261685.02600011.0820032065.255126782.46569878.59152925000,CAMERA_CUT); 
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
cut The style of the change.


Example my code:

PHP код:
InterpolateCameraPos(playerid2130.3959961676.91528318.6513592012.0167231670.24279718.3263206000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid2125.6335441676.18249517.3161922007.0327141669.86279218.2052346000,CAMERA_CUT); 
Reply
#5

Don't call it directly under OnPlayerConnect. Put a delay on it, like maybe 4 or 5 seconds.
Reply
#6

oh and how can i delete all car on server but only delete the cars uninhabited on
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)