Help with facing angle
#2

Ok, first. Get to the postition you want the player to stand at. Do /rs. The last part ignore, use:
pawn Code:
SetPlayerPos(playerid,X,Y,Z);
Then find the direction you want the player to face, turn that direction. Do /rs again and use the last bit as this:

pawn Code:
SetPlayerFacingAngle(playerid,ANGLE);
Here's an example:

pawn Code:
1767.3073,-2024.1143,14.1494,222.3893
pawn Code:
SetPlayerPos(playerid,1767.3073,-2024.1143,14.1494);
SetPlayerFacingAngle(playerid,222.3893);
The SetPlayerFacingAngle is the very last part of /rs (raw save) which will save in your GTA San Andreas User Files.

Hope you understood
Reply


Messages In This Thread
Help with facing angle - by Richie© - 07.06.2013, 19:23
Re: Help with facing angle - by DobbysGamertag - 07.06.2013, 19:38
Re: Help with facing angle - by Richie© - 07.06.2013, 19:43
Re: Help with facing angle - by Pottus - 07.06.2013, 20:04
Re: Help with facing angle - by Richie© - 07.06.2013, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)