27.09.2012, 22:02
Well, what do you expect? OnPlayerStateChange is called AFTER the state is changed thus GetPlayerVehicleID will just return 0. Use OnPlayerExitVehicle instead.
Edit: Slightly too slow.
Edit: Slightly too slow.