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

So; when someone types a command, lets say "/sit". It will teleport them to that position and set the players camera looking at themselves sitting down? Is that correct?

Try this:
pawn Код:
SetPlayerPos(playerid, 2.9429,28.6322,1199.5938);
                SetPlayerInterior(playerid, 1);
                ApplyAnimation(playerid,"PED","SEAT_idle", 4.0, 1, 0, 0, 0, 0);
                SetPlayerCameraPos(playerid, 1.6159,30.1600,1199.5938);
                SetPlayerCameraLookAt(playerid, 2.9429,28.6322,1199.5938,2);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)