i want to put the player "specing" a object so i make this function
stock specobjeto(playerid,objetoid)
{
new Float: x,Float: y,Float: z,Float
x,Float
y,Float
z;
GetPlayerPos(playerid,px,py,pz);
GetObjectPos(objetoid,x,y,z);
InterpolateCameraPos(playerid, py, py, pz, x, y, z+0.2, 1000, CAMERA_MOVE);
SetPlayerCameraLookAt(playerid,x,y,z+0.05);
return 1;
}
but when i put the spec i dont see the object i see the sky soo i am wondering if i am in the interior or not.