busTeams = { [Team] = true }
busVehs = { [437] = true }
function enterVehicle ( thePlayer, seat, jacked ) -- when a player enters a vehicle
if ( busVehs[getElementModel ( source )] ) and ( not busTeams[getPlayerTeam( thePlayer )] ) then -- if the vehicle is one of 4 police cars, and the skin is not a police skin
removePedFromVehicle( thePlayer )-- force the player out of the vehicle
outputChatBox("Only Bus Drivers can drive this vehicle!", thePlayer)
end
end
addEventHandler ( "onVehicleEnter", getRootElement(), enterVehicle )