From SA-MP Wiki
Interpolate a player's camera's 'look at' point between two coordinates with a set speed. Can be be used with InterpolateCameraPos
||This function was added in SA-MP 0.3e and will not work in earlier versions!
(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT)
|playerid||The ID of the player the camera should be moved for|
|Float:FromX||The X position the camera should start to move from|
|Float:FromY||The Y position the camera should start to move from|
|Float:FromZ||The Z position the camera should start to move from|
|Float:ToX||The X position the camera should move to|
|Float:ToY||The Y position the camera should move to|
|Float:ToZ||The Z position the camera should move to|
|time||Time in milliseconds to complete interpolation|
|cut||The jumpcut to use. Defaults to CAMERA_CUT. Set to CAMERA_MOVE for interpolation|
|Returns||This function doesn't return a specific value|
The following functions may be useful, as they are related to this function in one way or another.