set camera interior
#1

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?
Reply
#2

when you set the players interior the camera follows as its part of the player.
Reply
#3

the player is in the interior when i put the camera function
Reply
#4

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.
Reply
#5

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,Floatx,Floaty,Floatz;
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)