streamed in paused players facing north
#8

OnPlayerUpdate will not be called for paused players. So you can use the last received angle update of the player.
pawn Code:
new
    Float:g_PlayerLastAngle[MAX_PLAYERS];

public OnPlayerUpdate(playerid) {

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

//if player is paused, use the last received angle.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)