SA-MP Forums Archive
How in the world to know this! - 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: How in the world to know this! (/showthread.php?tid=92553)



How in the world to know this! - Mujib - 20.08.2009

Hey,
I dont have an idea on how to get SetPlayerFacingAngle right?
If you know it please share it with me!


SetPlayerFacingAngle(playerid,180.0000);
SetPlayerPos(playerid,2343.1,308.8,33.;
SetPlayerCameraPos(playerid,2762.4993,50.9298,28.7 430);
SetPlayerCameraLookAt(playerid,2343.1,308.8,33.;


Re: How in the world to know this! - Sfinx_17 - 20.08.2009

set player facing angle must be the coordinates same as "SetPlayerCamerLookAt" coordinate as i know


Re: How in the world to know this! - laser50 - 20.08.2009

Mujib, make it
Код:
SetPlayerFacingAngle(playerid,180);
i used it like this too


Re: How in the world to know this! - MenaceX^ - 20.08.2009

https://sampwiki.blast.hk/wiki/SetPlayerFacingAngle

The angle is a float..


Re: How in the world to know this! - laser50 - 20.08.2009

Quote:
Originally Posted by Seif_ [adream-rp.com
]
Quote:
Originally Posted by MenaceX^
You want to get the player's angle? Type /save in-game. Check wiki for information.
i know it sounds stupid but, thx to you i now know how to set the angle