Problem with 'InterpolateCameraPos' on OnPlayerConnect
#1

I'm putting 'InterpolateCameraPos' on OnPlayerConnect but when I login the camera don't move.
Does anybody know the solution?
Код:
public OnPlayerConnect(playerid)
{
    TogglePlayerSpectating(playerid, true);
    InterpolateCameraPos(playerid, 3079.0652, -1520.4908, 129.4167, -2055.0005, -1512.4556, 129.4167, 300000, CAMERA_MOVE);
    return 1;
}
Reply
#2

Try this:
pawn Код:
public OnPlayerConnect(playerid)
{
    TogglePlayerSpectating(playerid, true);
    InterpolateCameraPos(playerid, 3079.0652, -1520.4908, 129.4167, -2055.0005, -1512.4556, 129.4167, 10000, CAMERA_MOVE);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)