07.07.2011, 03:30
Is it possible to spectate a player that's in a different virtual world than you?
You can always get that players virtual world, save yours into a variable, and set yours to the same as the other players. When you are done spectating, you can retrieve the information from that variable for your virtual world and set it to it again.
|
new
pVirtualWorld[ MAX_PLAYERS ] = { 0, ... }
;
// Spectate ....
pVirtualWorld[ playerid ] = GetPlayerVirtualWorld( playerid );
SetPlayerVirtualWorld( playerid, GetPlayerVirtualWorld( targetid ) );
// End the spectate ....
SetPlayerVirtualWorld( playerid, pVirtualWorld[ playerid ] );