View Single Post
Old 02/02/2017, 03:49 PM   #8
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,772
Reputation: 1144
Default Re: streamed in paused players facing north

OnPlayerUpdate will not be called for paused players. So you can use the last received angle update of the player.

public OnPlayerUpdate(playerid) {

    GetPlayerFacingAngle(playerid, g_PlayerLastAngle[playerid]);
    return 1;

//if player is paused, use the last received angle.
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote