Added switch statement for playervehicle