22.09.2013, 18:17
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:
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);