Spec Update [REP+]
#1

Hello when I do /spec, it start specing the player but when the player is entering a vehicle its not updating is there any way to make it detectable and when the player enter a vehicle to spec the vehicle

REP+
Reply
#2

In OnPlayerStateChange:
if the new state is in vehicle (driver or passenger) for a player and this player is being spectated by others, re-spectate the vehicle the player is in.
else if the new state is on foot for a player and this player is being specated by others, re-spectate the player.

It's pretty much similar in OnPlayerInteriorChange, you have to change the interior of the players who are spectating the player whose interior is changed. It also applies for virtual worlds.
Reply
#3

Hmmm ok thanks for the info also I found a script that it has this features and I will modify it thanks for help anyway +REPed

Btw are you from Greece?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)