InterpolateCamera positions
#1

Here is my code:

PHP Code:
stock ShowMenuDialog(playeridframe)
{
InterpolateCameraPos(playeridxxxxxx)
InterpolateCameraLookAt(playeridxxxxxx)
InterpolateCameraPos(playeridbbbbbbb)
InterpolateCameraLookAt(playeridbbbbb)

I want it to go from first Camera to second camera but it only shows the second camera.
Reply
#2

Add time parameter. https://sampwiki.blast.hk/wiki/InterpolateCameraPos
Reply
#3

InterpolateCameraPos(playerid, 0.0, 0.0, 10.0, 1000.0, 1000.0, 30.0, 10000,CAMERA_MOVE);

The first (0.0) = Point A?
The second (0.0) = Point B?
The third (10.0) = 10 Seconds timer from point A to B?

Tell me what is the others for.
Reply
#4

3rd is from z
Reply
#5

Quote:
Originally Posted by silverms
View Post
3rd is from z
I dont understand u son
Reply
#6

Got it, thanks both of u +rep
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)