Camera moving backwards ? +Rep
#1

Hello All,
I joined a server earlier and their login screen was a camera looking at LS but it was moving backwards in motion ? What function is that on SA-MP to make the camera move back in motion. If so please help much appreciated +Rep
Reply
#2

Check this out
https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt

EDIT: Example
pawn Код:
InterpolateCameraPos(playerid, 1668.9432,-1458.1198,120.6119, 1506.6499,-1675.8396,41.2007, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1586.5640,-1281.9943,120.6119, 1554.6344,-1675.5366,16.1953, 3000, CAMERA_MOVE);
Reply
#3

Thank you!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)