19.04.2011, 09:38
When OnPlayerEnterVehicle is called, the player isn't in the vehicle yet, thus GetPlayerVehicleID will return 0. Though, it's a mystery to me why you use GetPlayerVehicleID, because OnPlayerEnterVehicle has a vehicleid parameter.