Spectating player in diff virtual world?
#5

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
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.
^ Correct, just an example :

pawn Код:
new
    pVirtualWorld[ MAX_PLAYERS ] = { 0, ... }
;

// Spectate ....

pVirtualWorld[ playerid ] = GetPlayerVirtualWorld( playerid );
SetPlayerVirtualWorld( playerid, GetPlayerVirtualWorld( targetid ) );

// End the spectate ....

SetPlayerVirtualWorld( playerid, pVirtualWorld[ playerid ] );
No idea though, how to get a NPC ID....
Reply


Messages In This Thread
Spectating player in diff virtual world? - by Outcast - 07.07.2011, 03:30
Re: Spectating player in diff virtual world? - by =WoR=Varth - 07.07.2011, 03:32
Re: Spectating player in diff virtual world? - by Outcast - 07.07.2011, 03:33
Re: Spectating player in diff virtual world? - by Scenario - 07.07.2011, 03:37
Re: Spectating player in diff virtual world? - by Basicz - 07.07.2011, 03:56

Forum Jump:


Users browsing this thread: 1 Guest(s)