SA-MP Forums Archive
Player Face Look At??? Possible?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Player Face Look At??? Possible?? (/showthread.php?tid=213422)



Player Face Look At??? Possible?? - vakhtang - 19.01.2011

Can I make player`s face look at pos: x,y,z?


Re: Player Face Look At??? Possible?? - park4bmx - 19.01.2011

no dont think so you can only move players face when you move the mouse.
But You can make the player camera to look at some pos.


Re: Player Face Look At??? Possible?? - DRIFT_HUNTER - 19.01.2011

SetPlayerFacingAngle(playerid, angle);


NOTE: THESE FUNCTION ROTATE PLAYER NOT HIS FACE/HEAD


Re: Player Face Look At??? Possible?? - Macluawn - 19.01.2011

I think it's possible. SetPlayerCameraLookAt(playerid,x,y,z);
don't know if it goes back to normal once player moves the mouse.


Re: Player Face Look At??? Possible?? - Mike Garber - 19.01.2011

Quote:
Originally Posted by Macluawn
Посмотреть сообщение
I think it's possible. SetPlayerCameraLookAt(playerid,x,y,z);
don't know if it goes back to normal once player moves the mouse.
No, that points the camera wherever you want It, the player wont move, often used with SetPlayerCameraPos.
It's used in server tutorials and like.


Re: Player Face Look At??? Possible?? - DevilG - 19.01.2011

Quote:
Originally Posted by Macluawn
Посмотреть сообщение
I think it's possible. SetPlayerCameraLookAt(playerid,x,y,z);
don't know if it goes back to normal once player moves the mouse.
It's not possible..

Anyway, if you want a player to look at a point, then just set his camera to look at a position, why do you even bother to rotate his character's face?