30.01.2011, 12:12
GetPlayerVehicleID will return 0 when OnPlayerEnterVehicle is called because the player is not in that vehicle at that time, so that's why it doesn't work. You have the vehicleid parameter there, why don't you use it ?