26.06.2011, 09:03
Quote:
OnPlayerUpdate() - Doesn't detect changes/spawned weapons inside a vehicle.
|
PlayerSpectatePlayer/PlayerSpectateVehicle - when the spectate mode is turned on with this two functions in vehicles, sometimes 2 extra OnPlayerStateChange will be called.
For example:
Code:
[CMD]/spectate 0 //0 is the target ID OnPlayerStateChange called(driver->spectating) when TogglePlayerSpectating is called OnPlayerStateChange called(spectating->driver) after the command is finished //This is the problem OnPlayerStateChange called(driver->spectating)