Set Player Face Point?
#3

Quote:
Originally Posted by MCZOFT
Посмотреть сообщение
PHP код:
SetPlayerFacingAngle 
should always be learn from usage General .. look how it's done

PHP код:
SetPlayerFacingAngle(playeridFloat:ang
i cant see that at your line

PHP код:
SetPlayerFacingAngle(playerid, -acos((pX) / floatsqroot((pX)*(pX) + (pY)*(pY))) - 90.0); 
check that line again . if that didnt help you that means you dident explain what you want exactly
I know what SetPlayerFacingAngle is.

For instance, I have 24 unique spawn points that all face the same spot (an x/y coordinate). Instead of finding EVERY SINGLE facing angle, I have a loop to set the facing angle to face a coordinate, the center of a circle.

The stock above is not setting the facing angle accordingly, though.
Reply


Messages In This Thread
Set Player Face Point? - by Aerotactics - 25.11.2014, 01:17
Re : Set Player Face Point? - by MCZOFT - 25.11.2014, 01:30
Re: Re : Set Player Face Point? - by Aerotactics - 25.11.2014, 02:28
Re: Set Player Face Point? - by Write - 25.11.2014, 08:01

Forum Jump:


Users browsing this thread: 2 Guest(s)