21.05.2015, 10:55
https://sampwiki.blast.hk/wiki/OnPlayerInteriorChange
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
When a player changes interior and there are players spectate that player, change their interior as well.
When a player changes their state (on foot, in vehicle) and there are players spectate that player, re-spectate them (PlayerSpectatePlayer, PlayerSpectateVehicle).
When a player changes virtual world (hook SetPlayerVirtualWorld and call a new callback OnPlayerVirtualWorldChange when the VW changes) and there are players spectate that player, change their VW as well.
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
When a player changes interior and there are players spectate that player, change their interior as well.
When a player changes their state (on foot, in vehicle) and there are players spectate that player, re-spectate them (PlayerSpectatePlayer, PlayerSpectateVehicle).
When a player changes virtual world (hook SetPlayerVirtualWorld and call a new callback OnPlayerVirtualWorldChange when the VW changes) and there are players spectate that player, change their VW as well.