06.06.2012, 23:34
GetPlayerFacingAngle returns the OLD angle if used straight after SetPlayerFacingAngle. It doesn't seem to be correct until after the next OnPlayerUpdate call. I have written a fix for this which I will be asking ****** to add to fixes.inc, but of course it's a SA:MP/GTA bug so I'm also reporting it.
It may not be the case every time, I forgot, AFAIK it is.
I used this code to fix it: http://pastebin.com/L3v6YYyk
It may not be the case every time, I forgot, AFAIK it is.
I used this code to fix it: http://pastebin.com/L3v6YYyk