Interpolate Camera help
#1

Hello, i saw today that a server was interpolating camera at login, but i saw the dialog only when camera stopped the interpolating, so is there a callback like "OnPlayerCameraStop" ?
thanks i really need a thing like this
Reply
#2

Maybe this was used https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt but he fixed the time as he wants. Read this "time Time in milliseconds to complete interpolation" (it's written in the link given).
Reply
#3

So, i should use a timer right?
Reply
#4

You set the time for interpolation (in milliseconds) in the interpolation function. Set a timer for the same time.

P.S. The native (default) timers are bad, as they are inaccurate (by about 25 percent - a 10 second timer will be called after 12.5 seconds). I recommend you use fixes2 by ******: https://sampforum.blast.hk/showthread.php?tid=375925

Just include the file and load the plugin, everything is automatically fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)