12.09.2012, 06:33
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.
I have try to change and add..
to
But it seems nothing change at all.
Also there is no Parameter for VirtualWorld.
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++;
}
}
Код:
SetPlayerInterior(x,newinteriorid);
Код:
SetPlayerInterior(i,GetPlayerInterior(playerid)); SetPlayerVirtualWorld(i,GetPlayerVirtualWorld(playerid));
Also there is no Parameter for VirtualWorld.