26.05.2014, 11:15
Thanks, I'll make like you said.
EDIT:
I found a solution![Cheesy](images/smilies/biggrin.png)
With this code, camera will come direct behind player
)
Thanks you, lock
EDIT:
I found a solution
![Cheesy](images/smilies/biggrin.png)
Код:
InterpolateCameraPos(playerid, Spawn[spawn_id][sCamPos1X], Spawn[spawn_id][sCamPos1Y], Spawn[spawn_id][sCamPos1Z], Spawn[spawn_id][sCamPos2X], Spawn[spawn_id][sCamPos2Y], Spawn[spawn_id][sCamPos2Z], Spawn[spawn_id][sCamTimer], CAMERA_MOVE); InterpolateCameraLookAt(playerid, Spawn[spawn_id][sCamLAPos1X], Spawn[spawn_id][sCamLAPos1Y], Spawn[spawn_id][sCamLAPos1Z], Spawn[spawn_id][sPosX], Spawn[spawn_id][sPosY], Spawn[spawn_id][sPosZ] + 0.60, Spawn[spawn_id][sCamTimer], CAMERA_MOVE);
Quote:
Spawn[spawn_id][sPosX], Spawn[spawn_id][sPosY], Spawn[spawn_id][sPosZ] + 0.60 |
![Wink](images/smilies/wink.png)
Thanks you, lock
![Smiley](images/smilies/smile.png)