22.09.2013, 17:48
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.....
Not working out too well... It's just facing the plane
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);