set camera interior -
caoraivoso3 - 17.11.2013
hi there i am making a script and i need to put a camera in the interior but i dont manage to do that.
is imposible or exist a function?
Re: set camera interior -
DeStunter - 17.11.2013
when you set the players interior the camera follows as its part of the player.
Re: set camera interior -
caoraivoso3 - 17.11.2013
the player is in the interior when i put the camera function
Re: set camera interior -
Konstantinos - 17.11.2013
I assume you want to set the camera for a class selection? If so, use:
https://sampforum.blast.hk/showthread.php?tid=140360
It's really easy to do so!
If you mean something else, then you'll need to be more specific and explain it.
Re: set camera interior -
caoraivoso3 - 17.11.2013
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.