Quote:
Originally Posted by Stefhan
I have that like this.
PHP код:
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(targetid));
SetPlayerInterior(playerid, GetPlayerInterior(targetid));
TogglePlayerSpectating(playerid, 1);
if(IsPlayerInAnyVehicle(targetid)) PlayerSpectateVehicle(playerid, GetPlayerVehicleID(targetid));
else PlayerSpectatePlayer(playerid, targetid);
Is it not good?
|
I'm talking about the part under OnPlayerStateChange and OnPlayerInteriorChange..