Camera Moving (Interpolate Camera) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Camera Moving (Interpolate Camera) (
/showthread.php?tid=543049)
Camera Moving (Interpolate Camera) -
TheRohlikar - 24.10.2014
Hi everyone,
I've got problem with interpolate camera...
"InterpolateCameraPos" is working
"InterpolateCameraLookAt" is not working
Do you know why ?
Код HTML:
InterpolateCameraPos(playerid, CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_x], CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_y],CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_z],CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_x], CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_y],CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_z], 2000, CAMERA_MOVE);
InterpolateCameraLookAt(playerid, CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_x], CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_y],CarShop[PlayerInfo[playerid][selectshopcarid]-1][cpos_z],CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_x], CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_y],CarShop[PlayerInfo[playerid][selectshopcarid]][cpos_z], 2000, CAMERA_MOVE);
Or give me please small script, how do it... Thank you.
Re: Camera Moving (Interpolate Camera) -
Berzerk - 24.10.2014
What does it say when you compile?
Re: Camera Moving (Interpolate Camera) -
TheRohlikar - 24.10.2014
"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase"
No errors, no warnings.