05.10.2009, 19:28
Thanks for your reply, i was suprised its working without the VirtualWorld, but then i found a Post from BeksyBoy (sry, but i cant remember name excatly):
This seems to be my problem i have, BUT he said i have to spectate them again, so i tried changing my OnPlayerInteriorChange Code to this
Maybe he could describe it a little more in detail, if he finds this post 
I dont see no point, why i should need something like that, maybe you can tell me
Quote:
If you are spectating a player and they change virtual world and you change to that virtual world too you don't see them, you have got to spectate them again. In 0.2 this works fine. |
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; if(pSpectating[i] == playerid) { PlayerSpectatePlayer(i, playerid); SetPlayerInterior(i, newinteriorid); SetPlayerVirtualWorld(i, GetPlayerVirtualWorld(playerid)); } }

Quote:
Obviously you need to also to have: |