Spec (TogglePlayerSpectating) Problem!
#4

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.
Reply


Messages In This Thread
Spec (TogglePlayerSpectating) Problem! - by Airman123 - 21.05.2015, 10:43
Re: Spec (TogglePlayerSpectating) Problem! - by Bailews - 21.05.2015, 10:46
Re: Spec (TogglePlayerSpectating) Problem! - by Airman123 - 21.05.2015, 10:48
Re: Spec (TogglePlayerSpectating) Problem! - by Konstantinos - 21.05.2015, 10:55
Re: Spec (TogglePlayerSpectating) Problem! - by Airman123 - 21.05.2015, 11:22
Re: Spec (TogglePlayerSpectating) Problem! - by danish007 - 24.05.2015, 08:00
Re: Spec (TogglePlayerSpectating) Problem! - by Yashas - 24.05.2015, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)