Spec Problem
#1

Recently I have noticed that when I spectate a player above Virtual World 1, the spectate position and the camera view is always in the default loading or connecting mode. It doesn't change where the Spectating Player is.

pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    new x = 0;
    while(x!=MAX_PLAYERS)
    {
    if( IsPlayerConnected(x) && GetPlayerState(x) == PLAYER_STATE_SPECTATING &&
    AccInfo[x][SpecID] == playerid && AccInfo[x][SpecType] == ADMIN_SPEC_TYPE_PLAYER)
    {
    SetPlayerInterior(x,newinteriorid);
    }
    x++;
    }
}
I have try to change and add..
Код:
SetPlayerInterior(x,newinteriorid);
to

Код:
                SetPlayerInterior(i,GetPlayerInterior(playerid));
                SetPlayerVirtualWorld(i,GetPlayerVirtualWorld(playerid));
But it seems nothing change at all.

Also there is no Parameter for VirtualWorld.
Reply


Messages In This Thread
Spec Problem - by kbalor - 12.09.2012, 06:33
Re: Spec Problem - by clarencecuzz - 12.09.2012, 06:41
Re: Spec Problem - by kbalor - 12.09.2012, 06:48

Forum Jump:


Users browsing this thread: 1 Guest(s)