-- Core part:

while true do
	wait()
	wait()
	if curPlayer~=nil then
		if seat.Throttle == 1 then onForward(curPlayer) end
		if seat.Throttle == -1 then onBackward(curPlayer) end
		if seat.Steer == 1 then onTurnRight(curPlayer) end
		if seat.Steer == -1 then onTurnLeft(curPlayer) end
	end
	if djoin==true then onSitUp(curPlayer) end
end
