24.10.2012, 13:01
Why use a timer anyway? That's counter productive. Just reset their variable when the time between entering vehicles is more than 2 or 3 seconds (as opposed to < 1 second, when it is incremented). Also why the OnPlayerUpdate? You can just check in OnPlayerStateChange if the value has reached 3 already.