Is there a function to set player facing angle to?object?
EDIT: https://www.burgershot.gg/showthread.php...5#pid11395
EDIT: https://www.burgershot.gg/showthread.php...5#pid11395
[Pawn] [Solved] Set player facing angle to the object
|
Is there a function to set player facing angle to?object?
EDIT: https://www.burgershot.gg/showthread.php...5#pid11395
2021-06-01, 04:32 PM
get object's position and set player's camera to look at it? you can try that
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
2021-06-03, 08:17 AM
Yes, SetPlayerFacingAngle.
2021-06-03, 09:16 AM
I mean something else..
Never mind.
2021-06-05, 03:32 AM
(This post was last modified: 2021-06-05, 03:34 AM by Schoenherr.)
Are you looking for something like this: https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Update: I misread what you were looking to do.
lost venturas | coming soon
2021-06-05, 04:50 AM
PHP Code: stock SetPlayerFacingAngleToObject(playerid, objectid)
My nickname in-game is: [L]3O
|