24.10.2014, 07:09
Hi everyone,
I've got problem with interpolate camera...
"InterpolateCameraPos" is working
"InterpolateCameraLookAt" is not working
Do you know why ?
Or give me please small script, how do it... Thank you.
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);