Trying to make it so it sees the player.... (CameraLookAt,CameraPosition)
#1

So what I was doing basically, I was making the playerid sit in the chair, and then I have another position facing the person that is sitting.....

pawn Код:
AddPlayerClass(35,2.9429,28.6322,1199.5938,0.5921,0,0,0,0,0,0); // spot
AddPlayerClass(35,1.6159,30.1600,1199.5938,213.4925,0,0,0,0,0,0); // CameraPos
pawn Код:
SetPlayerCameraPos(playerid, 1.6159,30.1600,1199.5938);
                SetPlayerCameraLookAt(playerid, 1.6159,30.1600,1199.5938);
                SetPlayerPos(playerid, 2.9429,28.6322,1199.5938);
                SetPlayerInterior(playerid, 1);
                ApplyAnimation(playerid,"PED","SEAT_idle", 4.0, 1, 0, 0, 0, 0);
Not working out too well... It's just facing the plane
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)